CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/07/24 16:57:24
Modified files:
sys/netinet6 : frag6.c in6_proto.c ip6_input.c
Log message:
Unlock IPV6CTL_MAXFRAGS case of ip6_sysctl().
The frag6_input() assumes that `ip6_maxfrags' could be negative and
accept all the fragments without the limit in this case, meanwhile the
sysctl(2) interface denies negative values for `ip6_maxfrags'. Unlimited
queue is bad thing, so adjust the frag6_input() to be consistent with
sysctl(2). Don't check `ip6_maxfrags' against null because in such case
the "frag6_nfrags >= ip6_maxfrags" condition is always true. Unused in
ramdisk.
ok bluhm