]> git.baikalelectronics.ru Git - kernel.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)
commitf2830cdc204c390a3dd531874dad84a10ab3915b
tree4a85b1e41f74e0c0b7445a950186b026de3ef0e0
parent2db24c03e5d1cb2f71a6c604bbb04932dce96d36
[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