]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: do not call ndisc_send_rs() with write lock
authorCong Wang <amwang@redhat.com>
Sat, 31 Aug 2013 05:44:32 +0000 (13:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2013 02:30:00 +0000 (22:30 -0400)
commite61a5da912198f987c4b727e6847ff1534070875
tree822f242d34e00ff36af27c6768761a1ae6a0e03d
parent524c7e5d405d64e2a47e4865b0004cfccb93b641
ipv6: do not call ndisc_send_rs() with write lock

Because vxlan module will call ip6_dst_lookup() in TX path,
which will hold write lock. So we have to release this write lock
before calling ndisc_send_rs(), otherwise could deadlock.

Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c