commit | 9d1a6c4ea43e48c7880c85971c17939b56832d8a | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Mon Nov 07 12:03:09 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 09 18:49:39 2016 -0500 |
tree | db094ff8fb661c8925a895b1eaae48afcf082cf9 | |
parent | fd6f24d75ab07fd122c2910d343caa703f712873 [diff] |
net: icmp_route_lookup should use rt dev to determine L3 domain icmp_send is called in response to some event. The skb may not have the device set (skb->dev is NULL), but it is expected to have an rt. Update icmp_route_lookup to use the rt on the skb to determine L3 domain. Fixes: 613d09b30f8b ("net: Use VRF device index for lookups on TX") Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>