diff options
| author | Patrick McHardy <kaber@trash.net> | 2008-01-31 07:38:38 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:27:54 -0500 |
| commit | 76507f69c44ed199a1a68086145398459e55835d (patch) | |
| tree | 2e83a70fa50f3432ca63eeef84e038c72d254d10 /include/net | |
| parent | 7d0742da1c8f5df3a34030f0170b30d1a052be80 (diff) | |
[NETFILTER]: nf_conntrack: use RCU for conntrack hash
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/netfilter/nf_conntrack.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index dada0411abd1..561ae7658f55 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h | |||
| @@ -129,6 +129,8 @@ struct nf_conn | |||
| 129 | 129 | ||
| 130 | /* Extensions */ | 130 | /* Extensions */ |
| 131 | struct nf_ct_ext *ext; | 131 | struct nf_ct_ext *ext; |
| 132 | |||
| 133 | struct rcu_head rcu; | ||
| 132 | }; | 134 | }; |
| 133 | 135 | ||
| 134 | static inline struct nf_conn * | 136 | static inline struct nf_conn * |
