commit | 68ad6886dd3fb7d0b336363a90ace55b22f0dcb9 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue May 19 15:03:18 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue May 19 15:45:12 2020 -0700 |
tree | 8753c24e3d0d6d535bc3e34e3c9161429818ec0a | |
parent | f098846044c9edb359bf2dae4bcf0d537dda22fe [diff] |
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 <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>