From: Eric Dumazet Date: Mon, 7 Jan 2013 09:28:21 +0000 (+0000) Subject: net: introduce skb_transport_header_was_set() X-Git-Tag: v3.9-rc1~139^2~437 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fda55eca5a33f33ffcd4192c6b2d75179714a52c;p=pandora-kernel.git net: introduce skb_transport_header_was_set() We have skb_mac_header_was_set() helper to tell if mac_header was set on a skb. We would like the same for transport_header. __netif_receive_skb() doesn't reset the transport header if already set by GRO layer. Note that network stacks usually reset the transport header anyway, after pulling the network header, so this change only allows a followup patch to have more precise qdisc pkt_len computation for GSO packets at ingress side. Signed-off-by: Eric Dumazet Cc: Jamal Hadi Salim Signed-off-by: David S. Miller --- Reading git-diff-tree failed