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
..
2018-08-16 22:04:00 +00:00
2018-08-16 22:04:00 +00:00
2018-12-06 09:22:35 +00:00
2017-10-31 00:07:04 +00:00
2019-10-15 04:50:08 +00:00
2019-11-18 21:59:47 +00:00
2017-11-17 19:25:39 +00:00
2019-10-21 09:33:45 +00:00