CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2017/07/19 06:29:22

Modified files:
        sys/net        : switchofp.c 

Log message:
The proper way to check for successful allocation of an mbuf cluster is
by checking M_EXT flag. m_freem() the mbuf in the errorcase to prevent
a mbuf leak. MCLGET does not set the mbuf to NULL on failure.
Found by Ilja Van Sprundel
OK bluhm@ deraadt@

Reply via email to