Make sure that pf_mbuf_link_state_key() does not overwrite an
authorbluhm <bluhm@openbsd.org>
Fri, 29 Dec 2017 23:55:22 +0000 (23:55 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 29 Dec 2017 23:55:22 +0000 (23:55 +0000)
commit4c4789d368df8953b91c5afdf522b2ca55f42b87
tree7971e1accc4410261200e15d098e90ba39dbcc79
parent538bf5e3e2dca1cf5baca039d904d58b63b479e8
Make sure that pf_mbuf_link_state_key() does not overwrite an
existing statekey in the mbuf header.  Reset the statekey in
m_dup_pkthdr().
suggested by and OK sahan@
sys/kern/uipc_mbuf.c
sys/net/pf.c