diff options
author | 2022-12-02 05:28:47 +0000 | |
---|---|---|
committer | 2022-12-02 20:44:45 -0800 | |
commit | 55fb80d518c7323d05b71eda0c9f9d657b373816 (patch) | |
tree | 7925f5b0e805d3ff49cf635562625ce2d9905c22 /lib/parser.c | |
parent | Merge tag 'wireless-next-2022-12-02' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next (diff) | |
download | linux-rng-55fb80d518c7323d05b71eda0c9f9d657b373816.tar.xz linux-rng-55fb80d518c7323d05b71eda0c9f9d657b373816.zip |
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 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions