summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-12-04 09:51:08 +0100
committerDavid S. Miller <davem@davemloft.net>2011-12-06 00:30:03 +0100
commit4fa48bf3c75069d636fc8830743c929a062e80dc (patch)
tree3fe5e488ee6ac1af1b76497a5e6281106a8b2d2e /net/core
parentcaif: Stash away hijacked skb destructor and call it later (diff)
downloadlinux-4fa48bf3c75069d636fc8830743c929a062e80dc.tar.xz
linux-4fa48bf3c75069d636fc8830743c929a062e80dc.zip
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions