Skip to content
Commit 0f9ea5d2 authored by Eric Dumazet's avatar Eric Dumazet Committed by Roland Dreier
Browse files

RDMA/addr: Use appropriate locking with for_each_netdev()



for_each_netdev() should be used with RTNL or dev_base_lock held,
or else we risk a crash.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarSean Hefty <sean.hefty@intel.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent a7ca1f00
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment