]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sk_bound_dev_if-annotations'
authorDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 09:31:06 +0000 (10:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 09:31:06 +0000 (10:31 +0100)
commite584979747cbc8d21e81f6b84c892c143f221aef
tree61574829a8a9c493ce90134c11bb6b87daa86ed7
parent237ee3a810b2388f6ab7c7cffc593649159c2e7a
parentd88785f8ec174b80d65785df5b10a948960628cc
Merge branch 'sk_bound_dev_if-annotations'

Eric Dumazet says:

====================
net: add annotations for sk->sk_bound_dev_if

While writes on sk->sk_bound_dev_if are protected by socket lock,
we have many lockless reads all over the places.

This is based on syzbot report found in the first patch changelog.

v2: inline ipv6 function only defined if IS_ENABLED(CONFIG_IPV6) (kernel bots)
    Change the INET6_MATCH() to inet6_match(), this is no longer a macro.
    Change INET_MATCH() to inet_match() (Olivier Hartkopp & Jakub Kicinski)

====================

Signed-off-by: David S. Miller <davem@davemloft.net>