commit | 0340d0b9e0e2dc340acb664f19d6550940b22cde | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@herbertland.com> | Tue Apr 05 08:22:49 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 07 16:53:14 2016 -0400 |
tree | a93593fee3416349acfe7e8636e766ad60caca0f | |
parent | 1fbbe1a8a9b195c4ac856540dfaef49d663c2e91 [diff] |
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>