m_freem in wg_send's path where a peer has no endpoint address,
authorsthen <sthen@openbsd.org>
Thu, 5 Aug 2021 13:37:04 +0000 (13:37 +0000)
committersthen <sthen@openbsd.org>
Thu, 5 Aug 2021 13:37:04 +0000 (13:37 +0000)
commit2f84ac1381d01579f2b25c83b3dec5f908503765
tree7c5773ed7004756813b7b9cdb71bb134cd2fe213
parent6bf571acc6e264c1de7dbcf24479b3dd0df2cf30
m_freem in wg_send's path where a peer has no endpoint address,
fixing an mbuf leak way with wgpka (keepalive) found the hard way by Matt P.
Diff from Matt Dunwoodie, ok claudio@
sys/net/if_wg.c