]> git.karo-electronics.de Git - mv-sheeva.git/commit
[RTNETLINK]: Hold rtnl_mutex during netlink dump callbacks
authorPatrick McHardy <kaber@trash.net>
Mon, 16 Apr 2007 23:59:10 +0000 (16:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:04 +0000 (22:29 -0700)
commit1c2d670f3660e9103fdcdca702f6dbf8ea7d6afb
tree4a85b1e41f74e0c0b7445a950186b026de3ef0e0
parentaf65bdfce98d7965fbe93a48b8128444a2eea024
[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>
net/core/rtnetlink.c