diff options
| author | Christoph Hellwig <[email protected]> | 2020-05-19 13:03:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-05-19 22:45:11 +0000 |
| commit | 607259a695312cdfac2b52fb9d5b5890c834d573 (patch) | |
| tree | 25cf11dce13ddc9c82fb0f3f2f886c697b46227e /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | ipv4: consolidate the VIFF_TUNNEL handling in ipmr_new_tunnel (diff) | |
| download | kernel-607259a695312cdfac2b52fb9d5b5890c834d573.tar.gz kernel-607259a695312cdfac2b52fb9d5b5890c834d573.zip | |
net: add a new ndo_tunnel_ioctl method
This method is used to properly allow kernel callers of the IPv4 route
management ioctls. The exsting ip_tunnel_ioctl helper is renamed to
ip_tunnel_ctl to better reflect that it doesn't directly implement ioctls
touching user memory, and is used for the guts of ndo_tunnel_ctl
implementations. A new ip_tunnel_ioctl helper is added that can be wired
up directly to the ndo_do_ioctl method and takes care of the copy to and
from userspace.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
