HomeFreeBSD

wg_input: avoid leaking due to an m_defrag failure

Description

wg_input: avoid leaking due to an m_defrag failure

m_defrag() will not free the chain on failure, leaking the mbuf.

Obtained from: OpenBSD
MFC after: 3 days

Details