Provide pr_ctloutput method for AF_LOCAL/SOCK_SEQPACKET sockets.

This makes setsockopt() on them working.

Reported by:	Yuri <yuri rawbw.com>
Approved by:	re (kib)
This commit is contained in:
Gleb Smirnoff 2013-09-11 18:22:30 +00:00
parent 64c5de5483
commit e06432800f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255478

View File

@ -325,6 +325,7 @@ static struct protosw localsw[] = {
*/
.pr_flags = PR_ADDR|PR_ATOMIC|PR_CONNREQUIRED|PR_WANTRCVD|
PR_RIGHTS,
.pr_ctloutput = &uipc_ctloutput,
.pr_usrreqs = &uipc_usrreqs_seqpacket,
},
};