net: Use rtnl_lock_killable() in register_netdev()
commitb0f3debc9a1284d6b861e3f7cce0d119e6cd601d
authorKirill Tkhai <ktkhai@virtuozzo.com>
Wed, 14 Mar 2018 19:17:28 +0000 (14 22:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 16:31:19 +0000 (16 12:31 -0400)
tree4c627299436d5e6218cbb07d6bd28ca45e8a4f4e
parent79ffdfc6522ae33d8a33e971070c08ee5f27439b
net: Use rtnl_lock_killable() in register_netdev()

This patch adds rtnl_lock_killable() to one of hot path
using rtnl_lock().

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c