Eric Dumazet
4fa48bf3c7
tcp: fix tcp_trim_head()
...
commit f07d960df3 (tcp: avoid frag allocation for small frames)
breaked assumption in tcp stack that skb is either linear (skb->data_len
== 0), or fully fragged (skb->data_len == skb->len)
tcp_trim_head() made this assumption, we must fix it.
Thanks to Vijay for providing a very detailed explanation.
Reported-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-05 18:30:03 -05:00
..
2011-10-24 11:13:12 -05:00
2011-10-31 19:30:30 -04:00
2011-12-03 09:35:09 -08:00
2011-10-31 19:30:30 -04:00
2011-12-05 15:20:19 -05:00
2011-11-29 00:23:12 -05:00
2011-11-20 13:08:35 +01:00
2011-11-22 14:05:46 -05:00
2011-12-05 15:20:19 -05:00
2011-12-05 18:27:56 -05:00
2011-10-17 19:22:46 -04:00
2011-11-21 12:11:13 -08:00
2011-12-05 15:20:19 -05:00
2011-10-31 19:30:30 -04:00
2011-12-01 14:45:49 -05:00
2011-12-05 15:20:19 -05:00
2011-03-17 11:59:32 +11:00
2011-11-29 00:21:36 -05:00
2011-11-18 14:37:09 -05:00
2011-09-15 14:49:44 -04:00
2011-11-18 14:37:09 -05:00
2011-12-05 18:30:03 -05:00
2011-12-05 15:20:19 -05:00
2011-10-31 19:30:30 -04:00
2011-11-21 15:02:17 -05:00
2011-10-13 16:05:07 -04:00
2011-11-22 16:43:32 -05:00
2011-11-26 15:57:36 -05:00
2011-09-16 19:20:20 -04:00
2011-10-31 19:30:30 -04:00
2011-12-02 13:49:21 -05:00
2011-12-03 09:35:10 -08:00
2011-12-02 13:49:21 -05:00
2011-12-03 09:35:07 -08:00
2011-11-29 00:23:13 -05:00
2011-11-22 14:05:46 -05:00
2011-12-03 09:35:17 -08:00
2011-11-18 14:37:10 -05:00
2011-11-18 14:37:40 -05:00
2011-11-14 00:10:50 -05:00
2011-11-22 14:05:46 -05:00
2011-10-31 19:30:30 -04:00
2011-11-21 15:02:36 -05:00
2011-12-05 15:20:19 -05:00
2011-12-02 13:49:21 -05:00
2011-12-02 13:49:21 -05:00
2011-10-31 19:30:30 -04:00
2011-11-26 16:34:22 -05:00
2011-11-07 13:27:30 -05:00
2011-10-31 19:30:30 -04:00
2011-12-02 13:49:21 -05:00
2011-11-06 19:44:47 -08:00
2011-12-05 15:20:19 -05:00
2011-10-31 19:30:30 -04:00
2011-12-03 09:35:17 -08:00
2011-12-03 09:35:17 -08:00
2010-10-15 15:53:27 +02:00
2011-11-22 15:22:23 -05:00
2011-10-31 19:30:30 -04:00