From a7901a2d9c1eb64a943e9fb8460fab9c713999a3 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 9 Apr 2006 16:29:47 +0000 Subject: 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 d15e993..400a4ce 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 = { -- cgit v1.1