commit | 337fbc4166967a72c3cc71c597bdde7e6a8633ab | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Wed Nov 29 02:35:25 2006 +0100 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Dec 02 21:31:22 2006 -0800 |
tree | 95b2d47e55db3991f66090525b7e28455a6ca39b | |
parent | 468ec44bd5a863736d955f78b8c38896f26864a1 [diff] |
[NETFILTER]: ip_conntrack: fix NAT helper unload races The NAT helpr hooks are protected by RCU, but all of the conntrack helpers test and use the global pointers instead of copying them first using rcu_dereference() Also replace synchronize_net() by synchronize_rcu() for clarity since sychronizing only with packet receive processing is insufficient to prevent races. Signed-off-by: Patrick McHardy <kaber@trash.net>