Re: [PATCH] ipv4: fix the rcu race between free_fib_info andip_route_output_slow
From: Eric Dumazet
Date: Wed May 23 2012 - 03:41:38 EST
On Wed, 2012-05-23 at 09:39 +0200, Eric Dumazet wrote:
> spinlock is needed mainly because of ip_fib_check_default(), but this
> could be changed to use RCU as well.
>
> (readers use RCU, writers already hold RTNL -> no more fib_info_lock )
Since its not a fast path and hash table can be resized, its probably
not worth the pain.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/