Re: [-next] fib_dump_info() suspicious RCU usage
From: Andy Gospodarek
Date: Fri Jun 26 2015 - 10:25:03 EST
On Fri, Jun 26, 2015 at 06:35:40PM +0900, Sergey Senozhatsky wrote:
> Hello,
>
> Since 0eeb075fad736 ('net: ipv4 sysctl option to ignore routes when nexthop
> link is down') fib_dump_info() and fib_sync_up() are using __in_dev_get_rcu(),
> which requires (missing) RCU read side protection.
Yep, I can reproduce this now. Thanks for reporting.
I'll take a look and should be able to post an easy fix quickly.
--
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/