diff options
author | Eric Dumazet <edumazet@google.com> | 2022-12-02 05:28:47 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-02 20:44:45 -0800 |
commit | 55fb80d518c7323d05b71eda0c9f9d657b373816 (patch) | |
tree | 7925f5b0e805d3ff49cf635562625ce2d9905c22 /drivers/net/dsa/dsa_loop.h | |
parent | edd4e25a230dc8a977fca667db788424917ca2f3 (diff) |
tcp: use 2-arg optimal variant of kfree_rcu()
kfree_rcu(1-arg) should be avoided as much as possible,
since this is only possible from sleepable contexts,
and incurr extra rcu barriers.
I wish the 1-arg variant of kfree_rcu() would
get a distinct name, like kfree_rcu_slow()
to avoid it being abused.
Fixes: 459837b522f7 ("net/tcp: Disable TCP-MD5 static key on tcp_md5sig_info destruction")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20221202052847.2623997-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.h')
0 files changed, 0 insertions, 0 deletions