ipv6: use ->ndo_tunnel_ctl in addrconf_set_dstaddr
authorChristoph Hellwig <hch@lst.de>
Tue, 19 May 2020 13:03:19 +0000 (15:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 22:45:12 +0000 (15:45 -0700)
commit8e3db0bbb29aa8d135341c5327bae738e93932a7
tree1148ec17b76494a9b1aeda934468477c7c43ba48
parent68ad6886dd3fb7d0b336363a90ace55b22f0dcb9
ipv6: use ->ndo_tunnel_ctl in addrconf_set_dstaddr

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/ipv6/addrconf.c