diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-07-09 15:33:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-12 20:00:19 -0700 |
commit | 70c2efa5a32a7d38e66224844032160317fa7887 (patch) | |
tree | 34c0785993a0155a3677c97813f0d63e77b48dd2 /net/dsa | |
parent | c4363d6acd8d2ec9156f6469c742351e5d122489 (diff) | |
download | linux-stable-70c2efa5a32a7d38e66224844032160317fa7887.tar.gz linux-stable-70c2efa5a32a7d38e66224844032160317fa7887.tar.bz2 linux-stable-70c2efa5a32a7d38e66224844032160317fa7887.zip |
act_nat: not all of the ICMP packets need an IP header payload
not all of the ICMP packets need an IP header payload, so we check the length
of the skbs only when the packets should have an IP header payload.
Based upon analysis and initial patch by Rodrigo Partearroyo González.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
----
net/sched/act_nat.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions