diff options
author | Akihiro Suda <[email protected]> | 2023-06-01 12:13:05 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-06-02 09:55:22 +0100 |
commit | e209fee4118fe9a449d4d805361eb2de6796be39 (patch) | |
tree | bb1168d252f6c513f861caeeabbc462155cf7ac4 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5a59a58ec25d44f853c26bdbfda47d73b3067435 (diff) |
net/ipv4: ping_group_range: allow GID from 2147483648 to 4294967294
With this commit, all the GIDs ("0 4294967294") can be written to the
"net.ipv4.ping_group_range" sysctl.
Note that 4294967295 (0xffffffff) is an invalid GID (see gid_valid() in
include/linux/uidgid.h), and an attempt to register this number will cause
-EINVAL.
Prior to this commit, only up to GID 2147483647 could be covered.
Documentation/networking/ip-sysctl.rst had "0 4294967295" as an example
value, but this example was wrong and causing -EINVAL.
Fixes: c319b4d76b9e ("net: ipv4: add IPPROTO_ICMP socket kind")
Co-developed-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions