[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111024.030632.1448353383063978213.davem@davemloft.net>
Date: Mon, 24 Oct 2011 03:06:32 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, muralira@...gle.com, ak@...ux.intel.com,
hidden@...abit.hu
Subject: Re: [PATCH net-next] ipv4: tcp: fix TOS value in ACK messages sent
from TIME_WAIT
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 21 Oct 2011 12:29:25 +0200
> There is a long standing bug in linux tcp stack, about ACK messages sent
> on behalf of TIME_WAIT sockets.
>
> In the IP header of the ACK message, we choose to reflect TOS field of
> incoming message, and this might break some setups.
>
> Example of things that were broken :
> - Routing using TOS as a selector
> - Firewalls
> - Trafic classification / shaping
>
> We now remember in timewait structure the inet tos field and use it in
> ACK generation, and route lookup.
>
> Notes :
> - We still reflect incoming TOS in RST messages.
> - We could extend MuraliRaja Muniraju patch to report TOS value in
> netlink messages for TIME_WAIT sockets.
> - A patch is needed for IPv6
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks a lot Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists