From: Brice Goglin Date: Sat, 13 Oct 2007 10:33:32 +0000 (+0200) Subject: Add skb_is_gso_v6 X-Git-Tag: firefly_0821_release~25897^2~21 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eabd7e35c0061dc250fcb8b77c472cb66d770774;p=firefly-linux-kernel-4.4.55.git Add skb_is_gso_v6 Add skb_is_gso_v6(). Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik --- diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index a656cecd373c..8101e8b0d7ba 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1781,6 +1781,11 @@ static inline int skb_is_gso(const struct sk_buff *skb) return skb_shinfo(skb)->gso_size; } +static inline int skb_is_gso_v6(const struct sk_buff *skb) +{ + return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; +} + static inline void skb_forward_csum(struct sk_buff *skb) { /* Unfortunately we don't support this one. Any brave souls? */