addrconf: put prefix address add in an own function
authorAlexander Aring <aar@pengutronix.de>
Wed, 15 Jun 2016 19:20:22 +0000 (21:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jun 2016 03:41:23 +0000 (20:41 -0700)
commit4f672235cb11c49d4be7ac7d505c65e3bd367322
tree2b781702bc5d114084051d0eced1bd79e149fa9c
parent8ec5da41502843947af0b09e795b19fc7a83edd8
addrconf: put prefix address add in an own function

This patch moves the functionality to add a RA PIO prefix generated
address in an own function. This move prepares to add a hook for
adding a second address for a second link-layer address. E.g. short
address for 802.15.4 6LoWPAN.

Cc: David S. Miller <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c