Re: [NET]: Fix fib_rules dump race

2007-03-22 Thread David Miller
Applied. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [NET]: Fix fib_rules dump race

2007-03-22 Thread Thomas Graf
* Patrick McHardy <[EMAIL PROTECTED]> 2007-03-22 15:38 > [NET]: Fix fib_rules dump race > > fib_rules_dump needs to use list_for_each_entry_rcu to protect against > concurrent changes to the rules list. Good catch, it's not serialized with add/del by rtnl mutex if th

[NET]: Fix fib_rules dump race

2007-03-22 Thread Patrick McHardy
[NET]: Fix fib_rules dump race fib_rules_dump needs to use list_for_each_entry_rcu to protect against concurrent changes to the rules list. Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index 215f1bf..3aea4e8 100644 --- a/ne