Skip to content
Commit 4cd582ff authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: use synchronize_net() in dev_change_name()



dev_change_name() holds RTNL, we better use synchronize_net()
instead of plain synchronize_rcu().

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 17ef8efc
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