]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb1f2a19f976658b81f0300a11111ca2b320083e
tree83ef88c2305ed56ec5985b0e1b626d42723fb54a
parent53893493877033803bd40ce6ab0de62e5c0ac153
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