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)
commitab9304717f7624c41927f442e6b6d418b2d8b3e4
tree1ade11020c85e201b54caad9e929fc795d99487e
parentb249dcb82d327e419d3cb45773b146ebb5faf419
net: emphasize rtnl lock required in call_netdevice_notifiers

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>
net/core/dev.c