diff options
author | 2011-05-29 23:42:29 +0300 | |
---|---|---|
committer | 2011-06-06 01:36:46 +0200 | |
commit | d9be76f38526dccf84062e3ac3ed3a6a97698565 (patch) | |
tree | cc819ad8ffd4f11bf916d624010863d978874b30 /tools/perf/scripts/python | |
parent | netfilter: ipset: Use the stored first cidr value instead of '1' (diff) | |
download | linux-dev-d9be76f38526dccf84062e3ac3ed3a6a97698565.tar.xz linux-dev-d9be76f38526dccf84062e3ac3ed3a6a97698565.zip |
netfilter: nf_nat: fix crash in nf_nat_csum
Fix crash in nf_nat_csum when mangling packets
in OUTPUT hook where skb->dev is not defined, it is set
later before POSTROUTING. Problem happens for CHECKSUM_NONE.
We can check device from rt but using CHECKSUM_PARTIAL
should be safe (skb_checksum_help).
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions