[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071007.233658.25210806.davem@davemloft.net>
Date: Sun, 07 Oct 2007 23:36:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ilpo.jarvinen@...sinki.fi
Cc: legoater@...e.fr, netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] [TCP]: Fix two off-by-one errors in fackets_out
adjusting logic
From: "Ilpo_Järvinen" <ilpo.jarvinen@...sinki.fi>
Date: Wed, 3 Oct 2007 14:00:16 +0300
> 1) Passing wrong skb to tcp_adjust_fackets_out could corrupt
> fastpath_cnt_hint as tcp_skb_pcount(next_skb) is not included
> to it if hint points exactly to the next_skb (it's lagging
> behind, see sacktag).
>
> 2) When fastpath_skb_hint is put backwards to avoid dangling
> skb reference, the skb's pcount must also be removed from count
> (not included like above).
>
> Reported by Cedric Le Goater <legoater@...e.fr>
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>
Applied, thanks Ilpo.
-
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