Re: [RTNETLINK 02/04]: Hold rtnl_mutex during netlink dump callbacks

2007-04-16 Thread David Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Mon, 16 Apr 2007 09:51:54 +0200 (MEST) > [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 > t

[RTNETLINK 02/04]: Hold rtnl_mutex during netlink dump callbacks

2007-04-16 Thread Patrick McHardy
[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 <[EMAIL PROTECTED]> --- commit