]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit756e28301b14d52e14a5b29bb05b364a196c026b
treed5e459cdb1093da77fa92c3f75f1f8f454c7a53b
parent1bd05f6d9b2298614dec5877219cde000e75c2b1
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