Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162923087
D43366.id132443.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
676 B
Referenced Files
None
Subscribers
None
D43366.id132443.diff
View Options
diff --git a/sys/netlink/netlink_domain.c b/sys/netlink/netlink_domain.c
--- a/sys/netlink/netlink_domain.c
+++ b/sys/netlink/netlink_domain.c
@@ -545,15 +545,6 @@
return (ENOTCONN);
}
-static int
-nl_pru_shutdown(struct socket *so)
-{
- NL_LOG(LOG_DEBUG3, "socket %p, PID %d", so, curproc->p_pid);
- MPASS(sotonlpcb(so) != NULL);
- socantsendmore(so);
- return (0);
-}
-
static int
nl_sockaddr(struct socket *so, struct sockaddr *sa)
{
@@ -990,7 +981,6 @@
.pr_disconnect = nl_pru_disconnect, \
.pr_sosend = nl_sosend, \
.pr_soreceive = nl_soreceive, \
- .pr_shutdown = nl_pru_shutdown, \
.pr_sockaddr = nl_sockaddr, \
.pr_close = nl_close
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 19, 8:26 AM (4 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35227730
Default Alt Text
D43366.id132443.diff (676 B)
Attached To
Mode
D43366: netlink: just return EOPNOTSUPP on shutdown(2)
Attached
Detach File
Event Timeline
Log In to Comment