commit | 051578ccbcdad3b24b621dfb652194e36759e8d5 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Mon Dec 17 22:42:51 2007 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 14:59:06 2008 -0800 |
tree | d0afda1f43bd1e6de4d38e9efa4c498723e7f206 | |
parent | 1e796fda00f06bac584f0e4ad8750ab9430d79d3 [diff] |
[NETFILTER]: nf_nat: properly use RCU for ip_nat_decode_session We need to use rcu_assign_pointer/rcu_dereference to avoid races. Also remove an obsolete CONFIG_IP_NAT_NEEDED ifdef. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>