commit | 36d12690a2e9bcacae5a2a7e0fb6345a3caad625 | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Tue Aug 03 17:39:18 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 04 21:53:14 2010 -0700 |
tree | f3e451b268d498af9ec171f6b454538091010f71 | |
parent | c33788b45f754bd5dd8adc520e37fa38ac1849c7 [diff] |
act_nat: fix on the TX path On the TX path, skb->data points to the ethernet header, not the network header. So when validating the packet length for accessing we should take the ethernet header into account. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>