diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-08-03 19:39:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-05 06:53:14 +0200 |
commit | 36d12690a2e9bcacae5a2a7e0fb6345a3caad625 (patch) | |
tree | f3e451b268d498af9ec171f6b454538091010f71 /net/sched/sch_gred.c | |
parent | drivers/net/enic: Use %pUB to format a UUID (diff) | |
download | linux-36d12690a2e9bcacae5a2a7e0fb6345a3caad625.tar.xz linux-36d12690a2e9bcacae5a2a7e0fb6345a3caad625.zip |
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 'net/sched/sch_gred.c')
0 files changed, 0 insertions, 0 deletions