CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2022/08/20 17:48:58

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

Log message:
Move PRU_BIND request to (*pru_bind)() handler.

For the protocols which don't support request, leave handler NULL. Do the
NULL check within corresponding pru_() wrapper and return EOPNOTSUPP in
such case. This will be done for all upcoming user request handlers.

ok bluhm@ guenther@

Reply via email to