diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-08-08 07:00:21 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-13 04:35:02 +0300 |
commit | 6e1918ff680527ce4be77426aa537012b5aa997c (patch) | |
tree | 8e3af2e63ce7265c1bded73713aadfdfbadb7d1c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | db1b4bedb9b97c6d34b03d03815147c04fffe8b4 (diff) | |
download | linux-6e1918ff680527ce4be77426aa537012b5aa997c.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions