aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-04-18 15:39:02 -0700
committerDavid S. Miller <davem@davemloft.net>2018-04-19 15:40:13 -0400
commiteea68cd371a8fa7d8dbfcf75bc076e8379526119 (patch)
tree37b2c7aa3cbf7e155ee980f83a1fc362bd38058b /virt
parent9ee8cbb2fd4a7d6f483a20c4b8e82d8b1cf685fa (diff)
net/ipv6: Remove unnecessary checks on fib6_idev
Prior to 4832c30d5458 ("net: ipv6: put host and anycast routes on device with address") host routes and anycast routes were installed with the device set to loopback (or VRF device once that feature was added). In the older code dst.dev was set to loopback (needed for packet tx) and rt6i_idev was used to denote the actual interface. Commit 4832c30d5458 changed the code to have dst.dev pointing to the real device with the switch to lo or vrf device done on dst clones. As a consequence of this change a couple of device checks during route lookups are no longer needed. Remove them. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions