]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/ipv4: fix macro definition sk_for_each_bound_bhash
authorHongbo Li <lihongbo22@huawei.com>
Fri, 23 Aug 2024 07:04:53 +0000 (15:04 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 26 Aug 2024 21:04:25 +0000 (14:04 -0700)
commit9ceebd7a264798a792a3cf515f4c331704d4c5fb
tree7a0ac9787ff0f29f2023b82e4a3354d5005db2d6
parent0d9e5df4a257afc3a471a82961ace9a22b88295a
net/ipv4: fix macro definition sk_for_each_bound_bhash

The macro sk_for_each_bound_bhash accepts a parameter
__sk, but it was not used, rather the sk2 is directly
used, so we replace the sk2 with __sk in macro.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240823070453.3327832-1-lihongbo22@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/inet_connection_sock.c