freebsd-nq/tests/sys/netinet6
Bjoern A. Zeeb 32af08ecad icmpv6: Fix mbuf change in mld
After r354748 mld_input() can change the mbuf.  The new pointer
is never returned to icmp6_input() and when passed to
icmp6_rip6_input() the mbuf may no longer valid leading to
a panic.
Pass a pointer to the mbuf to mld_input() so we can return an
updated version in the non-error case.

Add a test sending an MLD packet case which will trigger this bug.

Pointyhat to:	bz
Reported by:	gallatin, thj
MFC After:	2 weeks
X-MFC with:	r354748
Sponsored by:	Netflix
2019-11-18 21:59:47 +00:00
..
frag6 frag6: properly handle atomic fragments according to RFCs. 2019-11-08 14:36:44 +00:00
exthdr.py ip6 tests: Add very simplistic extension header tests 2019-11-05 10:59:33 +00:00
exthdr.sh ipv6 tests 2019-11-18 21:54:29 +00:00
Makefile icmpv6: Fix mbuf change in mld 2019-11-18 21:59:47 +00:00
mld.py icmpv6: Fix mbuf change in mld 2019-11-18 21:59:47 +00:00
mld.sh icmpv6: Fix mbuf change in mld 2019-11-18 21:59:47 +00:00
scapyi386.py IPv6 tests: test case for scapy bpf parsing bug 2019-11-06 14:43:35 +00:00
scapyi386.sh Reenable netinet6 and netpfil tests on i386, net/scapy 2.4.3_2 contains the fix 2019-11-08 18:56:02 +00:00