commit | 91146153da2feab18efab2e13b0945b6bb704ded | [log] [tgz] |
---|---|---|
author | Julian Anastasov <ja@ssi.bg> | Sun Apr 13 18:08:02 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 13 23:23:41 2014 -0400 |
tree | 5305412f9427f50f69822e5fa16bb6db5f7e2ea0 | |
parent | cc6ca3023f2c2bbcd062e9d4cf6afc2ba2821ada [diff] |
ipv4: return valid RTA_IIF on ip route get Extend commit 13378cad02afc2adc6c0e07fca03903c7ada0b37 ("ipv4: Change rt->rt_iif encoding.") from 3.6 to return valid RTA_IIF on 'ip route get ... iif DEVICE' instead of rt_iif 0 which is displayed as 'iif *'. inet_iif is not appropriate to use because skb_iif is not set. Use the skb->dev->ifindex instead. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>