[PATCH 1/3] [TCP]: Fix two off-by-one errors in fackets_out adjusting logic

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ilpo Järvinen
Date: Wednesday, October 3, 2007 - 4:00 am

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@free.fr>

Signed-off-by: Ilpo J
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH net-2.6.24 0/3]: More TCP fixes, Ilpo Järvinen, (Wed Oct 3, 4:00 am)
[PATCH 1/3] [TCP]: Fix two off-by-one errors in fackets_ou ..., Ilpo Järvinen, (Wed Oct 3, 4:00 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Cedric Le Goater, (Wed Oct 3, 4:58 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Ilpo Järvinen, (Wed Oct 3, 5:34 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Cedric Le Goater, (Wed Oct 3, 5:48 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Ilpo Järvinen, (Wed Oct 3, 6:19 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Cedric Le Goater, (Wed Oct 3, 7:05 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Ilpo Järvinen, (Wed Oct 3, 7:22 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Cedric Le Goater, (Wed Oct 3, 7:58 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Cedric Le Goater, (Wed Oct 3, 7:59 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Cedric Le Goater, (Wed Oct 3, 8:12 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Ilpo Järvinen, (Thu Oct 4, 3:13 am)
Re: [PATCH net-2.6.24 0/3]: More TCP fixes, Cedric Le Goater, (Thu Oct 4, 7:53 am)