[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1509584410.3828.64.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 01 Nov 2017 18:00:10 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Christoph Paasch <cpaasch@...le.com>
Cc: Eric Dumazet <edumazet@...gle.com>,
David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net] tcp: Always cleanup skb before sending
On Wed, 2017-11-01 at 17:10 -0700, Christoph Paasch wrote:
> Yes, that looks good to me. Thanks!
>
> But we still need to clean up the skb in tcp_v4_send_reset and
> tcp_v4_send_ack, as the fields (e.g., tcp_skb_cb->seq) have been set when
> coming from tcp_v4_rcv.
You might be confused : ip_send_unicast_reply() does not send back the
incoming skb.
A fresh skb is allocated, then appended/sent.
And commit 24a2d43d8886f5a29c did the changes to provide to
__ip_options_echo() the proper IPCB header location.
Powered by blists - more mailing lists