CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2022/08/31 15:23:02

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

Log message:
Move PRU_SENDOOB request to (*pru_sendoob)().

PRU_SENDOOB request always consumes passed `top' and `control' mbufs. To
avoid dummy m_freem(9) handlers for all protocols release passed mbufs
in the pru_sendoob() EOPNOTSUPP error path.

Also fix `control' mbuf(9) leak in the tcp(4) PRU_SENDOOB error path.

ok bluhm@

Reply via email to