Re: ip_local_port_range and tcp_v4_get_port error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> When I reversed the two values in /proc/sys/net/ipv4/ip_local_port_range,
> my machine froze if I tried to start a telnet session.

The symptom happened with a 2.4.1 kernel.

> I looked into the implementation of function tcp_v4_get_port. When the
two
> values are reversed, the return value is 1. However, 1 is not considered
an
> error condition by tcp_v4_get_port consumers.

My explanation is wrong.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux