diff options
author | Patrick McHardy <kaber@trash.net> | 2007-02-12 11:09:19 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-02-12 11:09:19 -0800 |
commit | c3a47ab3e5ad62601449e4e5401352271b777e28 (patch) | |
tree | 3b3f6810796367efa5f76209aed12bec6c6a8b17 /kernel/seccomp.c | |
parent | ebaf0c6032f525ddb0158fb59848d41899dce8cd (diff) |
[NETFILTER]: Properly use RCU in nf_ct_attach
Use rcu_assign_pointer/rcu_dereference for ip_ct_attach pointer instead
of self-made RCU and use rcu_read_lock to make sure the conntrack module
doesn't disappear below us while calling it, since this function can be
called from outside the netfilter hooks.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions