Tom Herbert 0340d0b9e0 net: Checks skb_dst to be NULL in inet_iif
In inet_iif check if skb_rtable is NULL for the skb and return
skb->skb_iif if it is.

This change allows inet_iif to be called before the dst
information has been set in the skb (e.g. when doing socket based
UDP GRO).

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-07 16:53:14 -04:00
..
2016-03-26 11:31:01 -07:00
2016-03-22 11:57:43 -07:00
2016-03-14 14:03:29 +01:00
2016-04-06 16:50:32 -04:00