HomeFreeBSD

if_ovpn: fix mbuf leak

Description

if_ovpn: fix mbuf leak

If the link is down or we can't find a peer we do not transmit the
packet, but also don't fee it.

Remember to m_freem() mbufs we can't transmit.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jul 12 2022, 12:19 PM
Parents
rG7e06f4708cbe: msun: Rewrite function definitions with identifier lists
Branches
Unknown
Tags
Unknown