aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-08-07 21:00:21 -0700
committerJakub Kicinski <kuba@kernel.org>2024-08-12 18:35:02 -0700
commit6e1918ff680527ce4be77426aa537012b5aa997c (patch)
tree8e3af2e63ce7265c1bded73713aadfdfbadb7d1c /rust/helpers/build_bug.c
parentdb1b4bedb9b97c6d34b03d03815147c04fffe8b4 (diff)
net: macb: Use rcu_dereference() for idev->ifa_list in macb_suspend().
In macb_suspend(), idev->ifa_list is fetched with rcu_access_pointer() and later the pointer is dereferenced as ifa->ifa_local. So, idev->ifa_list must be fetched with rcu_dereference(). Fixes: 0cb8de39a776 ("net: macb: Add ARP support to WOL") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20240808040021.6971-1-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions