Home
last modified time | relevance | path

Searched hist:"5889 e2c0e441d84060e66211ed5c4517ca591167" (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Dtcp_output.cdiff 5889e2c0e441d84060e66211ed5c4517ca591167 Wed Oct 25 01:44:42 CEST 2017 Yousuk Seung <ysseung@google.com> tcp: call tcp_rate_skb_sent() when retransmit with unaligned skb->data

Current implementation calls tcp_rate_skb_sent() when tcp_transmit_skb()
is called when it clones skb only. Not calling tcp_rate_skb_sent() is OK
for all such code paths except from __tcp_retransmit_skb() which happens
when skb->data address is not aligned. This may rarely happen e.g. when
small amount of data is sent initially and the receiver partially acks
odd number of bytes for some reason, possibly malicious.

Signed-off-by: Yousuk Seung <ysseung@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>