OSDN Git Service

net: Fix a documentation bug wrt. ip_unprivileged_port_start
authorMaciej Żenczykowski <maze@google.com>
Mon, 25 Nov 2019 22:48:00 +0000 (14:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Nov 2019 21:17:49 +0000 (13:17 -0800)
commitac71676c493f738ed04b0db9dc67aa03de7f2722
treee1469c4db15d9a919517043445b7a2ddb04b62cb
parentfd567ac20cb0377ff466d3337e6e9ac5d0cb15e4
net: Fix a documentation bug wrt. ip_unprivileged_port_start

It cannot overlap with the local port range - ie. with autobind selectable
ports - and not with reserved ports.

Indeed 'ip_local_reserved_ports' isn't even a range, it's a (by default
empty) set.

Fixes: 4548b683b781 ("Introduce a sysctl that modifies the value of PROT_SOCK.")
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt