kernel - Fix ip6_setpktoptions() panic
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 10 Jan 2020 19:13:31 +0000 (11:13 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 10 Jan 2020 19:13:31 +0000 (11:13 -0800)
commit0dfe8c5c2bfcad5752b556a3678f18c4860245a6
tree7f63075d0d2bf240586f178def07b6ba0d0c0a4e
parent374a0b33c9900871850d4f25f8fab1354fab2e3c
kernel - Fix ip6_setpktoptions() panic

* Fix a panic in the control message processing for ipv6.  The loop
  could blow up if the last cmsg is not stored in an aligned number
  of bytes.

Reported-by: tuxillo
sys/netinet6/ip6_output.c