Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149305892
D43366.1789844622.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
676 B
Referenced Files
None
Subscribers
None
D43366.1789844622.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
Sat, Sep 19, 7:03 PM (14 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29789417
Default Alt Text
D43366.1789844622.diff (676 B)
Attached To
Mode
D43366: netlink: just return EOPNOTSUPP on shutdown(2)
Attached
Detach File
Event Timeline
Log In to Comment