Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153252657
D53453.id165354.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
599 B
Referenced Files
None
Subscribers
None
D53453.id165354.diff
View Options
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -2212,7 +2212,6 @@
/* Report real length of the packet */
uio->uio_resid -= m_length(m, NULL) - len;
}
- *flagsp |= MSG_TRUNC;
} else
*flagsp &= ~MSG_TRUNC;
}
@@ -3216,11 +3215,9 @@
#endif
LIST_REMOVE(unp, unp_reflink);
UNP_REF_LIST_UNLOCK();
- if (so) {
- SOCK_LOCK(so);
- so->so_state &= ~SS_ISCONNECTED;
- SOCK_UNLOCK(so);
- }
+ SOCK_LOCK(so);
+ so->so_state &= ~SS_ISCONNECTED;
+ SOCK_UNLOCK(so);
break;
case SOCK_STREAM:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 2:09 AM (8 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31879605
Default Alt Text
D53453.id165354.diff (599 B)
Attached To
Mode
D53453: unix: Minor cleanup
Attached
Detach File
Event Timeline
Log In to Comment