diff options
author | Tom Herbert | 2016-04-05 17:22:49 +0200 |
---|---|---|
committer | David S. Miller | 2016-04-07 22:53:14 +0200 |
commit | 0340d0b9e0e2dc340acb664f19d6550940b22cde (patch) | |
tree | a93593fee3416349acfe7e8636e766ad60caca0f /net/compat.c | |
parent | Merge branch 'sock-lockdep-tightening' (diff) | |
download | kernel-qcow2-linux-0340d0b9e0e2dc340acb664f19d6550940b22cde.tar.gz kernel-qcow2-linux-0340d0b9e0e2dc340acb664f19d6550940b22cde.tar.xz kernel-qcow2-linux-0340d0b9e0e2dc340acb664f19d6550940b22cde.zip |
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>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions