Files
linux/net/ipv6
Eric Dumazet 9fba1eb39e ipv6: np->rxpmtu race annotation
Add READ_ONCE() annotations because np->rxpmtu can be changed
while udpv6_recvmsg() and rawv6_recvmsg() read it.

Since this is a very rarely used feature, and that udpv6_recvmsg()
and rawv6_recvmsg() read np->rxopt anyway, change the test order
so that np->rxpmtu does not need to be in a hot cache line.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250916160951.541279-4-edumazet@google.com
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-09-18 10:17:09 +02:00
..
2025-07-02 14:32:30 -07:00
2025-08-29 19:36:32 -07:00
2025-07-02 15:42:29 -07:00
2025-07-02 14:32:30 -07:00
2025-07-02 14:32:30 -07:00
2025-08-29 19:36:32 -07:00
2025-08-29 19:36:32 -07:00
2025-08-29 19:36:32 -07:00
2025-09-01 13:15:14 -07:00
2025-09-18 10:17:09 +02:00
2025-07-02 14:32:30 -07:00
2025-09-18 08:47:51 +02:00
2023-10-27 10:35:46 +01:00
2025-09-18 10:17:09 +02:00