[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 10 Oct 2007 11:04:12 -0400
From: Brian Haley <brian.haley@...com>
To: Anton Arapov <aarapov@...hat.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] division-by-zero in inet_csk_get_port
Anton Arapov wrote:
> So, now the way suggested by Denis looks reasonable.
>
> What do you think?
If that's the case then you should fix __udp_lib_get_port() the same way.
Prevent division by zero in __udp_lib_get_port() when only one
unsecured port is available.
-Brian
Signed-off-by: Brian Haley <brian.haley@...com>
View attachment "udp_port_range.patch" of type "text/x-patch" (615 bytes)
Powered by blists - more mailing lists