projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ebf6e
)
ipv4/fib: use synchronize_net() when holding RTNL
author
Eric Dumazet
<edumazet@google.com>
Fri, 9 Feb 2024 15:30:59 +0000
(15:30 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 12 Feb 2024 12:17:03 +0000
(12:17 +0000)
tnode_free() should use synchronize_net()
instead of syncronize_rcu() to release RTNL sooner.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c
patch
|
blob
|
history
diff --git
a/net/ipv4/fib_trie.c
b/net/ipv4/fib_trie.c
index
3ff35f8
..
0fc7ab5
100644
(file)
--- a/
net/ipv4/fib_trie.c
+++ b/
net/ipv4/fib_trie.c
@@
-501,7
+501,7
@@
static void tnode_free(struct key_vector *tn)
if (tnode_free_size >= READ_ONCE(sysctl_fib_sync_mem)) {
tnode_free_size = 0;
- synchronize_
rcu
();
+ synchronize_
net
();
}
}