xfrm: Don't queue retransmitted packets if the original is still on the host
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 16 Oct 2013 11:42:46 +0000 (13:42 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 21 Oct 2013 07:45:20 +0000 (09:45 +0200)
commit4d53eff48b5f03ce67f4f301d6acca1d2145cb7a
tree57a9f7eb1bf14672f132a834de67997796dfd81f
parent5cf4eb54c2dcae681279a9cfca5498cfe65c5384
xfrm: Don't queue retransmitted packets if the original is still on the host

It does not make sense to queue retransmitted packets if the
original packet is still in some queue of this host. So add
a check to xdst_queue_output() and drop the packet if the
original packet is not yet sent.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Eric Dumazet <edumazet@google.com>
net/xfrm/xfrm_policy.c