Home
last modified time | relevance | path

Searched hist:"9 b55c20f" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Dip.h9b55c20f Mon Jul 18 12:26:42 CDT 2022 Kuniyuki Iwashima <kuniyu@amazon.com> ip: Fix data-races around sysctl_ip_prot_sock.

sysctl_ip_prot_sock is accessed concurrently, and there is always a chance
of data-race. So, all readers and writers need some basic protection to
avoid load/store-tearing.

Fixes: 4548b683b781 ("Introduce a sysctl that modifies the value of PROT_SOCK.")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/ipv4/
H A Dsysctl_net_ipv4.c9b55c20f Mon Jul 18 12:26:42 CDT 2022 Kuniyuki Iwashima <kuniyu@amazon.com> ip: Fix data-races around sysctl_ip_prot_sock.

sysctl_ip_prot_sock is accessed concurrently, and there is always a chance
of data-race. So, all readers and writers need some basic protection to
avoid load/store-tearing.

Fixes: 4548b683b781 ("Introduce a sysctl that modifies the value of PROT_SOCK.")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>