Home
last modified time | relevance | path

Searched hist:"0340 d0b9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/net/
H A Droute.h0340d0b9 Tue Apr 05 10:22:49 CDT 2016 Tom Herbert <tom@herbertland.com> 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>
0340d0b9 Tue Apr 05 10:22:49 CDT 2016 Tom Herbert <tom@herbertland.com> 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>