]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite39124fbdf2f11320042096eec82b485e0530883
tree2a372aeddb9943653cdc3f82a7ecadb98f745cb0
parent5fa772391b132dfcad7f856618029f7b266596b0
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