[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101208.123536.15249027.davem@davemloft.net>
Date: Wed, 08 Dec 2010 12:35:36 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: bhutchings@...arflare.com, Martin@...htvoll.de,
netdev@...r.kernel.org
Subject: Re: [PATCH] tcp: avoid a possible divide by zero
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 07 Dec 2010 23:03:55 +0100
> [PATCH v2] tcp: avoid a possible divide by zero
>
> sysctl_tcp_tso_win_divisor might be set to zero while one cpu runs in
> tcp_tso_should_defer(). Make sure we dont allow a divide by zero by
> reading sysctl_tcp_tso_win_divisor exactly once.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
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