CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/03/13 14:18:21
Modified files:
sys/kern : uipc_proto.c uipc_socket.c uipc_socket2.c
uipc_usrreq.c
sys/net : pfkey.c raw_usrreq.c rtsock.c
sys/netinet : in_proto.c ip_divert.c ip_divert.h ip_var.h
raw_ip.c tcp_usrreq.c tcp_var.h udp_usrreq.c
udp_var.h
sys/netinet6 : in6_proto.c ip6_divert.c ip6_divert.h ip6_var.h
raw_ip6.c
sys/sys : protosw.h socketvar.h unpcb.h
Log message:
Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.
Attach is quite a different thing to the other PRU functions and
this should make locking a bit simpler. This also removes the ugly
hack on how proto was passed to the attach function.
OK bluhm@ and mpi@ on a previous version