]> git.baikalelectronics.ru Git - kernel.git/commit
seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header
authorIoana-Ruxandra Stăncioi <stancioi@google.com>
Mon, 3 Aug 2020 07:33:33 +0000 (07:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 00:57:40 +0000 (17:57 -0700)
commit0c142e2798fafdeb1986512dc9c6a36e39006b17
tree99119721f18bc9b817222c48b31e3a6dba356603
parent8522283a312f18fdccfba2f31447f95a5eae7888
seg6_iptunnel: Refactor seg6_lwt_headroom out of uapi header

Refactor the function seg6_lwt_headroom out of the seg6_iptunnel.h uapi
header, because it is only used in seg6_iptunnel.c. Moreover, it is only
used in the kernel code, as indicated by the "#ifdef __KERNEL__".

Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Ioana-Ruxandra Stăncioi <stancioi@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/seg6_iptunnel.h
net/ipv6/seg6_iptunnel.c