ipv6: convert addrconf list to hlist
authorstephen hemminger <shemminger@vyatta.com>
Wed, 17 Mar 2010 20:31:10 +0000 (20:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Mar 2010 22:44:34 +0000 (15:44 -0700)
commitc2e21293c054817c42eb5fa9c613d2ad51954136
tree481f7de6d3e3a9a3d93af5654ec174ff5945dc2b
parent372e6c8f1f7b2bb68f9992d2e664925c73552a1d
ipv6: convert addrconf list to hlist

Using hash list macros, simplifies code and helps later RCU.

This patch includes some initialization that is not strictly necessary,
since an empty hlist node/list is all zero; and list is in BSS
and node is allocated with kzalloc.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/if_inet6.h
net/ipv6/addrconf.c