diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-08-03 17:39:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-04 21:53:14 -0700 |
commit | 36d12690a2e9bcacae5a2a7e0fb6345a3caad625 (patch) | |
tree | f3e451b268d498af9ec171f6b454538091010f71 /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions