ndisc: Reduce number of arguments for ndisc_fill_addr_option().
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Mon, 21 Jan 2013 06:47:50 +0000 (06:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2013 18:33:14 +0000 (13:33 -0500)
commit315ff09dbaebc6061948102d7ed8781d4ee46f36
tree6c75732095e53482a109df9fb0b1d73885a7984c
parent7373470202a3c98e1a338bf1acf51247cd100868
ndisc: Reduce number of arguments for ndisc_fill_addr_option().

Add pointer to struct net_device (dev) and remove
data_len (= dev->addr_len) and addr_type (= dev->type).

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c