[RTNL]: Relax for_each_netdev_safe in __rtnl_link_unregister.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 16 Apr 2008 07:45:56 +0000 (00:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 07:45:56 +0000 (00:45 -0700)
commit3a931a80cb25f905da377d1bb0ba9b1641aa579a
treeb5ab114a1fb56af8728db3d21d7c463487d6214e
parentfc54c65853dbfd2f70ff827b73344f9de4e4b501
[RTNL]: Relax for_each_netdev_safe in __rtnl_link_unregister.

Each potential list_del (happening from inside a ->dellink call)
is followed by goto restart, so there's no need in _safe iteration.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c