]> 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)
commit0082f6307b0eb27f28d83f7346e331afb0382fc9
tree99119721f18bc9b817222c48b31e3a6dba356603
parent215d83d7176bd4599f322e5a4317df2f58c0c93f
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