diff options
author | glebius <glebius@FreeBSD.org> | 2013-09-11 18:22:30 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-09-11 18:22:30 +0000 |
commit | 3d45194f2c642afe3a51b0836f8172cc80ba0ae3 (patch) | |
tree | df3cd3b5d34ed6bc4f2a0d93d72ddb8dc5a4e6ad /sys/kern | |
parent | 4d92de31b23f33109e1fa7f0b1499ed6c3501ee1 (diff) | |
download | FreeBSD-src-3d45194f2c642afe3a51b0836f8172cc80ba0ae3.zip FreeBSD-src-3d45194f2c642afe3a51b0836f8172cc80ba0ae3.tar.gz |
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)
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_usrreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index c0a5d2e..e1eee36 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -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, }, }; |