OSDN Git Service

ipv6: sr: export SRH insertion functions
authorDavid Lebrun <david.lebrun@uclouvain.be>
Sat, 5 Aug 2017 10:38:25 +0000 (12:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:16:21 +0000 (14:16 -0700)
commitb04c80d3a7e228cfb832cdb1c9ce8151f174669c
treed3b7e811ae7ba58143fdfdb59ab6e0566698c4e0
parent925615ceda94532ba612e641549c7b1e41ebff10
ipv6: sr: export SRH insertion functions

This patch exports the seg6_do_srh_encap() and seg6_do_srh_inline()
functions. It also removes the CONFIG_IPV6_SEG6_INLINE knob
that enabled the compilation of seg6_do_srh_inline(). This function
is now built-in.

Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/seg6.h
net/ipv6/Kconfig
net/ipv6/seg6_iptunnel.c