Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112773849
D49436.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
396 B
Referenced Files
None
Subscribers
None
D49436.diff
View Options
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -3860,7 +3860,10 @@
break;
case SO_SETFIB:
- error = so->so_proto->pr_ctloutput(so, sopt);
+ if (so->so_proto->pr_ctloutput != NULL)
+ error = so->so_proto->pr_ctloutput(so, sopt);
+ else
+ error = EPROTONOSUPPORT;
break;
case SO_USER_COOKIE:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 23, 2:46 PM (2 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17256693
Default Alt Text
D49436.diff (396 B)
Attached To
Mode
D49436: socket: Check for a NULL ctloutput handler in the SO_SETFIB handler
Attached
Detach File
Event Timeline
Log In to Comment