m_free() in if_bridge

Jacques Fourie jacques.fourie at gmail.com
Wed Nov 8 14:37:37 UTC 2006


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


More information about the freebsd-hackers mailing list