OSDN Git Service

sit: impement ->ndo_tunnel_ctl
authorChristoph Hellwig <hch@lst.de>
Tue, 19 May 2020 13:03:16 +0000 (15:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 22:45:12 +0000 (15:45 -0700)
commitf60fe2df931d6c0b41c3d4f8ec3f7a429f977a3f
tree559db9a5c387129d9b87be5380c18f9c375e0b43
parentfd5d687b76b32543f6b2024ebe21f988ed1f8859
sit: impement ->ndo_tunnel_ctl

Implement the ->ndo_tunnel_ctl method, and use ip_tunnel_ioctl to
handle userspace requests for the SIOCGETTUNNEL, SIOCADDTUNNEL,
SIOCCHGTUNNEL and SIOCDELTUNNEL ioctls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c