NetBSD/src zbCiBS1 — sys/netinet6 icmp6.c
Fix the check on 'maxlen', we are not creating struct icmp6_hdr but struct nd_redirect (which is bigger). Also, make sure we can add a struct nd_opt_rd_hdr. Normally this doesn't change anything, since the mbuf has IPV6_MMTU bytes, and it's always way bigger than what we need.
Version | Delta | File | |
---|---|---|---|
1.218 | +8 | -3 | sys/netinet6/icmp6.c |
+8 | -3 | 1 files |