]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NET]: Fix fib_rules dump race
authorPatrick McHardy <kaber@trash.net>
Thu, 22 Mar 2007 19:24:38 +0000 (12:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2007 19:24:38 +0000 (12:24 -0700)
commitec25615b9ddd5c584b4066652840581fdb6c5e7a
treee84b4eff19ef3919232bb54d53b6e1ffd41d9cdc
parent961995582e3752e983dc3906a57546a188007440
[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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/fib_rules.c