net: emphasize rtnl lock required in call_netdevice_notifiers
authorJiri Pirko <jpirko@redhat.com>
Tue, 20 Apr 2010 08:45:37 +0000 (01:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Apr 2010 08:45:37 +0000 (01:45 -0700)
Since netdev_chain is guarded by rtnl_lock, ASSERT_RTNL should be
present here to make sure that all callers of call_netdevice_notifiers
does the locking properly.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found