aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-05-19 13:03:18 +0000
committerDavid S. Miller <[email protected]>2020-05-19 22:45:12 +0000
commit68ad6886dd3fb7d0b336363a90ace55b22f0dcb9 (patch)
tree8753c24e3d0d6d535bc3e34e3c9161429818ec0a /drivers/net/ethernet/intel/igc/igc_main.c
parentipv6: stub out even more of addrconf_set_dstaddr if SIT is disabled (diff)
downloadkernel-68ad6886dd3fb7d0b336363a90ace55b22f0dcb9.tar.gz
kernel-68ad6886dd3fb7d0b336363a90ace55b22f0dcb9.zip
ipv6: streamline addrconf_set_dstaddr
Factor out a addrconf_set_sit_dstaddr helper for the actual work if we found a SIT device, and only hold the rtnl lock around the device lookup and that new helper, as there is no point in holding it over a copy_from_user call. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions