diff options
author | Florian Westphal <fw@strlen.de> | 2019-01-15 22:03:34 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-01-18 15:02:33 +0100 |
commit | 202e651cd43c69a43f75b445e90f55b59f9af0ad (patch) | |
tree | 0f8ee9c7397fa2878e6451d1f01f6f22205e4c1e /include/net/netns | |
parent | netfilter: conntrack: handle icmp pkt_to_tuple helper via direct calls (diff) | |
download | linux-202e651cd43c69a43f75b445e90f55b59f9af0ad.tar.xz linux-202e651cd43c69a43f75b445e90f55b59f9af0ad.zip |
netfilter: conntrack: gre: convert rwlock to rcu
We can use gre. Lock is only needed when a new expectation is added.
In case a single spinlock proves to be problematic we can either add one
per netns or use an array of locks combined with net_hash_mix() or similar
to pick the 'correct' one.
But given this is only needed for an expectation rather than per packet
a single one should be ok.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns')
0 files changed, 0 insertions, 0 deletions