]> git.hungrycats.org Git - linux/commit
[NETFILTER]: Fix ipchains oops in NAT
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 26 Oct 2003 16:01:25 +0000 (08:01 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 26 Oct 2003 16:01:25 +0000 (08:01 -0800)
commit14a32d80b42b626b6079702f854c8567c61249d5
tree9b9d101e6a2b43e326a33a365d4cdbf0604466f8
parent9c59801198faa5b31bcc0705f4754b489dca7d51
[NETFILTER]: Fix ipchains oops in NAT

We updated ip_nat_setup_info to set the initialized flag and call
place_in_hashes, but *didn't* change the call in ip_fw_compat_masq.c
which also calls place_in_hashes() itself (again!).  Result: corrupt
list, and next thing which lands in the same hash bucket goes boom.

Thanks to Andy Polyakov for chasing this down.
net/ipv4/netfilter/ip_fw_compat_masq.c