net: ipv6: minor: use in6addr_any in token init
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 9 Apr 2013 03:47:14 +0000 (03:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2013 17:12:23 +0000 (13:12 -0400)
commit914faa147bd2d086ed7257ad785d74cfe48d30ad
tree747f2f1af9fa487c84cdd9e287598f12c610a895
parent67a366064a913dfecc02729b3bd3f9ab9e75470c
net: ipv6: minor: use in6addr_any in token init

Since we check for !ipv6_addr_any(&in6_dev->token) in
addrconf_prefix_rcv(), make the token initialization on
device setup more intuitive by using in6addr_any as an
initializer.

Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c