netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Possible deadlock in ipv6?
@ 2012-06-06 14:49 Vladimir Davydov
  2012-06-06 15:53 ` Eric Dumazet
  0 siblings, 1 reply; 8+ messages in thread
From: Vladimir Davydov @ 2012-06-06 14:49 UTC (permalink / raw)
  To: netdev

I'm not familiar with the linux net subsystem, so I would appreciate if 
someone could clarify if the following call chain is possible:

addrconf_ifdown() calls neigh_ifdown(nd_tbl) which locks nd_tbl.lock for 
writing and calls

     pneigh_ifdown
     pndisc_destructor
     ipv6_dev_mc_dec
     __ipv6_dev_mc_dec
     igmp6_group_dropped
     igmp6_leave_group
     igmp6_send
     icmp6_dst_alloc
     ip6_neigh_lookup
     neigh_create

and neigh_create() locks nd_tbl.lock for writing again resulting in a 
deadlock.

Thank you.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-06-21  4:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 14:49 Possible deadlock in ipv6? Vladimir Davydov
2012-06-06 15:53 ` Eric Dumazet
2012-06-06 15:58   ` Eric Dumazet
2012-06-06 16:01     ` Vladimir Davydov
2012-06-06 17:02       ` Eric Dumazet
2012-06-12  6:54     ` David Miller
2012-06-12  9:09       ` Eric Dumazet
2012-06-21  4:05         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).