diff options
author | Patrick McHardy <kaber@trash.net> | 2007-04-17 01:59:10 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 07:29:04 +0200 |
commit | 1c2d670f3660e9103fdcdca702f6dbf8ea7d6afb (patch) | |
tree | 4a85b1e41f74e0c0b7445a950186b026de3ef0e0 /net/decnet/dn_dev.c | |
parent | [NETLINK]: Switch cb_lock spinlock to mutex and allow to override it (diff) | |
download | linux-1c2d670f3660e9103fdcdca702f6dbf8ea7d6afb.tar.xz linux-1c2d670f3660e9103fdcdca702f6dbf8ea7d6afb.zip |
[RTNETLINK]: Hold rtnl_mutex during netlink dump callbacks
Hold rtnl_mutex during the entire netlink dump operation. This allows
to simplify locking in the dump callbacks, since they can now rely on
that no concurrent changes happen.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_dev.c')
0 files changed, 0 insertions, 0 deletions