tcp_output.c (8512430e554a84275669f78f86dce18566d5cf7a) tcp_output.c (df97c708d5e6eebdd9ded1fa588eae09acf53793)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Implementation of the Transmission Control Protocol(TCP).
7 *
8 * Version: $Id: tcp_output.c,v 1.146 2002/02/01 22:01:04 davem Exp $

--- 1166 unchanged lines hidden (view full) ---

1175 struct sk_buff *buff;
1176 int nlen = skb->len - len;
1177 u16 flags;
1178
1179 /* All of a TSO frame must be composed of paged data. */
1180 if (skb->len != skb->data_len)
1181 return tcp_fragment(sk, skb, len, mss_now);
1182
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Implementation of the Transmission Control Protocol(TCP).
7 *
8 * Version: $Id: tcp_output.c,v 1.146 2002/02/01 22:01:04 davem Exp $

--- 1166 unchanged lines hidden (view full) ---

1175 struct sk_buff *buff;
1176 int nlen = skb->len - len;
1177 u16 flags;
1178
1179 /* All of a TSO frame must be composed of paged data. */
1180 if (skb->len != skb->data_len)
1181 return tcp_fragment(sk, skb, len, mss_now);
1182
1183 buff = sk_stream_alloc_pskb(sk, 0, 0, GFP_ATOMIC);
1183 buff = sk_stream_alloc_skb(sk, 0, GFP_ATOMIC);
1184 if (unlikely(buff == NULL))
1185 return -ENOMEM;
1186
1187 sk_charge_skb(sk, buff);
1188 buff->truesize += nlen;
1189 skb->truesize -= nlen;
1190
1191 /* Correct the sequence numbers. */

--- 1401 unchanged lines hidden ---
1184 if (unlikely(buff == NULL))
1185 return -ENOMEM;
1186
1187 sk_charge_skb(sk, buff);
1188 buff->truesize += nlen;
1189 skb->truesize -= nlen;
1190
1191 /* Correct the sequence numbers. */

--- 1401 unchanged lines hidden ---