summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-09-21 11:35:02 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2016-09-24 21:25:49 +0200
commitfe72926b792e52ab00abfa81a201805bfb2247d6 (patch)
tree52b2a3533cd57daafceb5c3fbb13e5a1ed04bbf8 /net/core/dev.c
parentc5136b15ea364124299c8a9ba96b300e96061e3a (diff)
downloadop-kernel-dev-fe72926b792e52ab00abfa81a201805bfb2247d6.zip
op-kernel-dev-fe72926b792e52ab00abfa81a201805bfb2247d6.tar.gz
netfilter: call nf_hook_state_init with rcu_read_lock held
This makes things simpler because we can store the head of the list in the nf_state structure without worrying about concurrent add/delete of hook elements from the list. A future commit will make use of this to implement a simpler linked-list. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Aaron Conole <aconole@bytheb.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud