CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2018/12/22 07:42:29

Modified files:
        sys/dev/sdmmc  : if_bwfm_sdio.c 

Log message:
Avoid using m_trailingspace(9) on an mbuf allocated with MGET(9) as it relies
on header fields that aren't initialized, which may trigger an assertion.
Check whether the control message doesn't exceed MLEN instead and turn the
check into a KASSERT as the driver should not generate control messages
that are larger.

with help form claudio@ (who points out that the driver should not use
MT_CONTROL here).

ok patrick@

Reply via email to