ipv6: stub out even more of addrconf_set_dstaddr if SIT is disabled
authorChristoph Hellwig <hch@lst.de>
Tue, 19 May 2020 13:03:17 +0000 (15:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 22:45:12 +0000 (15:45 -0700)
commitf098846044c9edb359bf2dae4bcf0d537dda22fe
tree2a372aeddb9943653cdc3f82a7ecadb98f745cb0
parentf60fe2df931d6c0b41c3d4f8ec3f7a429f977a3f
ipv6: stub out even more of addrconf_set_dstaddr if SIT is disabled

There is no point in copying the structure from userspace or looking up
a device if SIT support is not disabled and we'll eventually return
-ENODEV anyway.

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