Commit 6e1918f
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: 0cb8de3 ("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>1 parent db1b4be commit 6e1918f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5250 | 5250 | | |
5251 | 5251 | | |
5252 | 5252 | | |
5253 | | - | |
5254 | | - | |
| 5253 | + | |
| 5254 | + | |
5255 | 5255 | | |
5256 | 5256 | | |
5257 | 5257 | | |
| |||
0 commit comments