Re: [PATCH net] tcp: add sanity tests in tcp_add_backlog()

2019-04-29 Thread David Miller
From: Eric Dumazet Date: Fri, 26 Apr 2019 10:10:05 -0700 > Richard and Bruno both reported that my commit added a bug, > and Bruno was able to determine the problem came when a segment > wih a FIN packet was coalesced to a prior one in tcp backlog queue. > > It turns out the header prediction in

[PATCH net] tcp: add sanity tests in tcp_add_backlog()

2019-04-26 Thread Eric Dumazet
Richard and Bruno both reported that my commit added a bug, and Bruno was able to determine the problem came when a segment wih a FIN packet was coalesced to a prior one in tcp backlog queue. It turns out the header prediction in tcp_rcv_established() looks back to TCP headers in the packet, not i