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)
commitcaf92bc4007036cfac8ee06c845fdfe6496e4fb3
tree822f242d34e00ff36af27c6768761a1ae6a0e03d
parent034dfc5df99eb8d263211524983b1a737b25c06b
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