summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-05-26 14:08:05 -0700
committerDavid S. Miller <davem@davemloft.net>2019-05-26 14:08:05 -0700
commit8fb91c3550c4666d4c37b5494b1c68aa9c3284a5 (patch)
tree117978cd906b0d9088608e0c98700ca4c80246ff /net/ipv4/fib_trie.c
parentddf6ddb057f22445837df4d01bd966995d4426f7 (diff)
parent3c8fc87820446ce5b948dc17648509340102b818 (diff)
downloadlinux-8fb91c3550c4666d4c37b5494b1c68aa9c3284a5.tar.gz
linux-8fb91c3550c4666d4c37b5494b1c68aa9c3284a5.tar.bz2
linux-8fb91c3550c4666d4c37b5494b1c68aa9c3284a5.zip
Merge branch 'inet-frags-avoid-possible-races-at-netns-dismantle'
Eric Dumazet says: ==================== inet: frags: avoid possible races at netns dismantle This patch series fixes a race happening on netns dismantle with frag queues. While rhashtable_free_and_destroy() is running, concurrent timers might run inet_frag_kill() and attempt rhashtable_remove_fast() calls. This is not allowed by rhashtable logic. Since I do not want to add expensive synchronize_rcu() calls in the netns dismantle path, I had to no longer inline netns_frags structures, but dynamically allocate them. The ten first patches make this preparation, so that the last patch clearly shows the fix. As this patch series is not exactly trivial, I chose to target 5.3. We will backport it once soaked a bit. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
0 files changed, 0 insertions, 0 deletions