sit: refactor ipip6_tunnel_ioctl
authorChristoph Hellwig <hch@lst.de>
Tue, 19 May 2020 13:03:15 +0000 (15:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 22:45:12 +0000 (15:45 -0700)
commitfd5d687b76b32543f6b2024ebe21f988ed1f8859
tree06f26d0f01d159b4559d8203de39e83134ca0160
parentc7e3670516042bfd8147151d9008b5874a6eb73e
sit: refactor ipip6_tunnel_ioctl

Split the ioctl handler into one function per command instead of having
a all the logic sit in one giant switch statement.

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