ipv6: use ipv6_addr_any() helper
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 22 May 2013 05:41:06 +0000 (05:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2013 08:17:47 +0000 (01:17 -0700)
commit7996c799ae329fab1b9c8d475fd08883f0499ed9
treed5e459cdb1093da77fa92c3f75f1f8f454c7a53b
parente43ac79a4bc6ca90de4ba10983b4ca39cd215b4b
ipv6: use ipv6_addr_any() helper

ipv6_addr_any() is a faster way to determine if an addr
is ipv6 any addr, no need to compute the addr type.

Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c