CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2019/02/04 14:40:52

Modified files:
        sys/kern       : uipc_usrreq.c 
        sys/net        : pfkeyv2.c rtsock.c 
        sys/netinet    : ip_divert.c raw_ip.c udp_usrreq.c 
        sys/netinet6   : ip6_divert.c raw_ip6.c 

Log message:
Avoid an mbuf double free in the oob soreceive() path.  In the
usrreq functions move the mbuf m_freem() logic to the release block
instead of distributing it over the switch statement.  Then the
goto release in the initial check, whether the pcb still exists,
will not free the mbuf for the PRU_RCVD, PRU_RVCOOB, PRU_SENSE
command.
OK claudio@ mpi@ visa@
Reported-by: [email protected]

Reply via email to