[NETLINK]: Switch cb_lock spinlock to mutex and allow to override it
authorPatrick McHardy <kaber@trash.net>
Fri, 20 Apr 2007 21:14:21 +0000 (14:14 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:03 +0000 (22:29 -0700)
Switch cb_lock to mutex and allow netlink kernel users to override it
with a subsystem specific mutex for consistent locking in dump callbacks.
All netlink_dump_start users have been audited not to rely on any
side-effects of the previously used spinlock.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found