]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add helper function to parse netlink msg of ip_tunnel_encap
authorLiu Jian <liujian56@huawei.com>
Thu, 29 Sep 2022 13:52:02 +0000 (21:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2022 06:59:06 +0000 (07:59 +0100)
commit199ee0d04c1b3b1c44b78c9dc5f8e4cc1f306aab
treec346d5ef2525431db618326bf51cd3355c1a9fb5
parent27d678e723ebad3dd20c6a2210f63172a99a74de
net: Add helper function to parse netlink msg of ip_tunnel_encap

Add ip_tunnel_netlink_encap_parms to parse netlink msg of ip_tunnel_encap.
Reduces duplicate code, no actual functional changes.

Signed-off-by: Liu Jian <liujian56@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h
net/ipv4/ip_tunnel_core.c
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c