Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eabd7e35 authored by Brice Goglin's avatar Brice Goglin Committed by Jeff Garzik
Browse files

Add skb_is_gso_v6



Add skb_is_gso_v6().

Signed-off-by: default avatarBrice Goglin <brice@myri.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent af793e08
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1781,6 +1781,11 @@ static inline int skb_is_gso(const struct sk_buff *skb)
	return skb_shinfo(skb)->gso_size;
	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)
static inline void skb_forward_csum(struct sk_buff *skb)
{
{
	/* Unfortunately we don't support this one.  Any brave souls? */
	/* Unfortunately we don't support this one.  Any brave souls? */