OSDN Git Service

impr: use ->ndo_tunnel_ctl in ipmr_new_tunnel
authorChristoph Hellwig <hch@lst.de>
Tue, 19 May 2020 13:03:14 +0000 (15:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 22:45:12 +0000 (15:45 -0700)
commitc7e3670516042bfd8147151d9008b5874a6eb73e
tree83ef88c2305ed56ec5985b0e1b626d42723fb54a
parent607259a695312cdfac2b52fb9d5b5890c834d573
impr: use ->ndo_tunnel_ctl in ipmr_new_tunnel

Use the new ->ndo_tunnel_ctl instead of overriding the address limit
and using ->ndo_do_ioctl just to do a pointless user copy.

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