]> git.baikalelectronics.ru Git - kernel.git/commit
net: skb_fclone_busy() needs to detect orphaned skb
authorEric Dumazet <edumazet@google.com>
Thu, 30 Oct 2014 17:32:34 +0000 (10:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 23:58:30 +0000 (19:58 -0400)
commit93c35283c36666dbe803ad48c7448330f3bd06da
treef0cbefb0eee4eda2697c4e2fd6e0ad3ee7331f43
parente5e8ab1de7054e7bf79b54d4ea15e73c5b66641d
net: skb_fclone_busy() needs to detect orphaned skb

Some drivers are unable to perform TX completions in a bound time.
They instead call skb_orphan()

Problem is skb_fclone_busy() has to detect this case, otherwise
we block TCP retransmits and can freeze unlucky tcp sessions on
mostly idle hosts.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 3ef9fffda161 ("tcp: avoid retransmits of TCP packets hanging in host queues")
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/ipv4/tcp_output.c
net/xfrm/xfrm_policy.c