During fragment reassembly, mbuf chains with packet headers were
authorbluhm <bluhm@openbsd.org>
Mon, 10 Sep 2018 12:47:02 +0000 (12:47 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 10 Sep 2018 12:47:02 +0000 (12:47 +0000)
commitc1746f11b0c8af70eecbe03fcd247444643d7685
tree4351f3ff3565095c2dbf0522ec2d28092727bec7
parent0f052d73138ce841c3fcd58b63666771b1137fe9
During fragment reassembly, mbuf chains with packet headers were
created.  Add a new function m_removehdr() do convert packet header
mbufs within the chain to regular mbufs.  Assert that the mbuf at
the beginning of the chain has a packet header.
found by Maxime Villard in NetBSD; from markus@; OK claudio@
share/man/man9/mbuf.9
sys/kern/uipc_mbuf.c
sys/net/pf_norm.c
sys/netinet/ip_input.c
sys/netinet6/frag6.c
sys/sys/mbuf.h