Page MenuHomeFreeBSD

D53453.1790559680.diff
No OneTemporary

Size
599 B
Referenced Files
None
Subscribers
None

D53453.1790559680.diff

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

Mime Type
text/plain
Expires
Mon, Sep 28, 1:41 AM (2 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29962230
Default Alt Text
D53453.1790559680.diff (599 B)

Event Timeline