Home
last modified time | relevance | path

Searched hist:"4 b27116882f5351b651484624f99d1eb13bc968d" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/ipv6/
H A Dip6_input.cdiff 4b27116882f5351b651484624f99d1eb13bc968d Wed Feb 28 07:54:26 CST 2024 Eric Dumazet <edumazet@google.com> ipv6: annotate data-races around cnf.disable_ipv6

[ Upstream commit d289ab65b89c1d4d88417cb6c03e923f21f95fae ]

disable_ipv6 is read locklessly, add appropriate READ_ONCE()
and WRITE_ONCE() annotations.

v2: do not preload net before rtnl_trylock() in
addrconf_disable_ipv6() (Jiri)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 4db783d68b9b ("ipv6: prevent NULL dereference in ip6_output()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
H A Dip6_output.cdiff 4b27116882f5351b651484624f99d1eb13bc968d Wed Feb 28 07:54:26 CST 2024 Eric Dumazet <edumazet@google.com> ipv6: annotate data-races around cnf.disable_ipv6

[ Upstream commit d289ab65b89c1d4d88417cb6c03e923f21f95fae ]

disable_ipv6 is read locklessly, add appropriate READ_ONCE()
and WRITE_ONCE() annotations.

v2: do not preload net before rtnl_trylock() in
addrconf_disable_ipv6() (Jiri)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 4db783d68b9b ("ipv6: prevent NULL dereference in ip6_output()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
H A Daddrconf.cdiff 4b27116882f5351b651484624f99d1eb13bc968d Wed Feb 28 07:54:26 CST 2024 Eric Dumazet <edumazet@google.com> ipv6: annotate data-races around cnf.disable_ipv6

[ Upstream commit d289ab65b89c1d4d88417cb6c03e923f21f95fae ]

disable_ipv6 is read locklessly, add appropriate READ_ONCE()
and WRITE_ONCE() annotations.

v2: do not preload net before rtnl_trylock() in
addrconf_disable_ipv6() (Jiri)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 4db783d68b9b ("ipv6: prevent NULL dereference in ip6_output()")
Signed-off-by: Sasha Levin <sashal@kernel.org>