diff options
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 52271947a471..3ec1f69c5ceb 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -896,6 +896,8 @@ new_segment: | |||
896 | skb_fill_page_desc(skb, i, page, offset, copy); | 896 | skb_fill_page_desc(skb, i, page, offset, copy); |
897 | } | 897 | } |
898 | 898 | ||
899 | skb_shinfo(skb)->gso_type |= SKB_GSO_SHARED_FRAG; | ||
900 | |||
899 | skb->len += copy; | 901 | skb->len += copy; |
900 | skb->data_len += copy; | 902 | skb->data_len += copy; |
901 | skb->truesize += copy; | 903 | skb->truesize += copy; |
@@ -3032,6 +3034,7 @@ struct sk_buff *tcp_tso_segment(struct sk_buff *skb, | |||
3032 | SKB_GSO_DODGY | | 3034 | SKB_GSO_DODGY | |
3033 | SKB_GSO_TCP_ECN | | 3035 | SKB_GSO_TCP_ECN | |
3034 | SKB_GSO_TCPV6 | | 3036 | SKB_GSO_TCPV6 | |
3037 | SKB_GSO_SHARED_FRAG | | ||
3035 | 0) || | 3038 | 0) || |
3036 | !(type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))) | 3039 | !(type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)))) |
3037 | goto out; | 3040 | goto out; |