Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2006 16:37:34 +0200
From:      "Jacques Fourie" <jacques.fourie@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   m_free() in if_bridge
Message-ID:  <be2f52430611080637i35d5db61s5ffd7e276dd003bf@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
While browsing through if_bridge.c I noticed that if the bridge
interface is in monitoring mode, m_free() gets called on the packet
after passing it to BPF. Should this not be m_freem() instead or am I
missing something?  The code in question can be found in the
bridge_input() function, line 1877 in if_bridge.c.

regards,
jacques



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be2f52430611080637i35d5db61s5ffd7e276dd003bf>