summaryrefslogtreecommitdiff
path: root/net/phonet/pn_netlink.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-05-07 18:41:44 +0000
committerJakub Kicinski <kuba@kernel.org>2024-05-08 18:51:30 -0700
commit8d8b1a422c4644891e1f8a3ea10b544b65cd0cc6 (patch)
tree93dbbadb3f9ac8e2befd101adb5d0ad1475c7a05 /net/phonet/pn_netlink.c
parente2d09e5a1e8fb17a807dc4dce8dbc39d9fea3788 (diff)
net: annotate data-races around dev->if_port
Various ndo_set_config() methods can change dev->if_port dev->if_port is going to be read locklessly from rtnl_fill_link_ifmap(). Add corresponding WRITE_ONCE() on writer sides. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240507184144.1230469-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/phonet/pn_netlink.c')
0 files changed, 0 insertions, 0 deletions