bridge: check return value of ipv6_dev_get_saddr()
authorUlrich Weber <ulrich.weber@sophos.com>
Mon, 5 Mar 2012 04:52:44 +0000 (04:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2012 21:45:34 +0000 (16:45 -0500)
otherwise source IPv6 address of ICMPV6_MGM_QUERY packet
might be random junk if IPv6 is disabled on interface or
link-local address is not yet ready (DAD).

Signed-off-by: Ulrich Weber <ulrich.weber@sophos.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found