ipv6: separate ndisc_ns_create() from ndisc_send_ns()
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 21 Feb 2022 05:54:53 +0000 (13:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Feb 2022 12:13:45 +0000 (12:13 +0000)
commit696c65444120cfe98ae704e86a59df8666fabf1d
treefc8614cce9d23a63a4dc21b797b8884681fbf9d6
parent91398a960edf50d27206d808182e3357f9f5c668
ipv6: separate ndisc_ns_create() from ndisc_send_ns()

This patch separate NS message allocation steps from ndisc_send_ns(),
so it could be used in other places, like bonding, to allocate and
send IPv6 NS message.

Also export ndisc_send_skb() and ndisc_ns_create() for later bonding usage.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ndisc.h
net/ipv6/ndisc.c