Commit 8051bf2
ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock
[ Upstream commit 03e4deff4987f79c34112c5ba4eb195d4f9382b0 ]
Just like commit 4acd494 ("ipv6: addrconf: Avoid calling
netdevice notifiers with RCU read-side lock"), it is unnecessary
to make addrconf_disable_change() use RCU iteration over the
netdev list, since it already holds the RTNL lock, or we may meet
Illegal context switch in RCU read-side critical section.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 8a066a8 commit 8051bf2
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5244 | 5244 | | |
5245 | 5245 | | |
5246 | 5246 | | |
5247 | | - | |
5248 | | - | |
| 5247 | + | |
5249 | 5248 | | |
5250 | 5249 | | |
5251 | 5250 | | |
| |||
5254 | 5253 | | |
5255 | 5254 | | |
5256 | 5255 | | |
5257 | | - | |
5258 | 5256 | | |
5259 | 5257 | | |
5260 | 5258 | | |
| |||
0 commit comments