Thread (5 messages) flat view 5 messages, 3 authors, 2012-08-15

Re: [PATCH net] ipv6: addrconf: Avoid calling netdevice notifiers with RCU read-side lock

From: David Miller <davem@davemloft.net>
Date: 2012-08-15 00:03:04

From: Ben Hutchings <redacted>
Date: Tue, 14 Aug 2012 19:54:51 +0100
Cong Wang reports that lockdep detected suspicious RCU usage while
enabling IPV6 forwarding:
 ...
addrconf_forward_change() uses RCU iteration over the netdev list,
which is unnecessary since it already holds the RTNL lock.  We also
cannot reasonably require netdevice notifier functions not to sleep.

Reported-by: Cong Wang <redacted>
Signed-off-by: Ben Hutchings <redacted>
Applied and queued up for -stable, thanks Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help