From d37b79a00fbcdf1690d68a18117f4d4be2db0fc3 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 9 Apr 2006 16:29:47 +0000 Subject: [PATCH] Remove UNIX domain socket raw socket support. This feature is documented as being undocumented in Stevens, and was broken in 1997 during network stack infrastructure work. It is the one remaining (and incorrect) direct protocol reference to raw_usrreq.pru_attach; this is incorrect because the raw socket code assumes that raw_uattach is called only after the protocol has allocated a PCB. MFC after: 3 months --- sys/kern/uipc_proto.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/kern/uipc_proto.c b/sys/kern/uipc_proto.c index d15e9937d1f..400a4ce74d4 100644 --- a/sys/kern/uipc_proto.c +++ b/sys/kern/uipc_proto.c @@ -61,11 +61,6 @@ static struct protosw localsw[] = { .pr_flags = PR_ATOMIC|PR_ADDR|PR_RIGHTS, .pr_usrreqs = &uipc_usrreqs }, -{ - .pr_ctlinput = raw_ctlinput, - .pr_init = raw_init, - .pr_usrreqs = &raw_usrreqs -} }; struct domain localdomain = {