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