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

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
...@@ -1781,6 +1781,11 @@ static inline int skb_is_gso(const struct sk_buff *skb) ...@@ -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? */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment