[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46642CA9.8060609@trash.net>
Date: Mon, 04 Jun 2007 17:15:53 +0200
From: Patrick McHardy <kaber@...sh.net>
To: "David S. Miller" <davem@...emloft.net>
CC: Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack
Patrick McHardy wrote:
> [TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack
>
> A time_wait socket inherits sk_bound_dev_if from the original socket,
> but it is not used when sending ACK packets using ip_send_reply.
>
> Fix by passing the oif to ip_send_reply in struct ip_reply_arg and
> use it for output routing.
The patch was missing a NULL pointer check in tcp_v4_send_ack for
a different code path where twsk == NULL. Fixed version attached.
View attachment "x" of type "text/plain" (2560 bytes)
Powered by blists - more mailing lists