Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102920176
D38506.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
564 B
Referenced Files
None
Subscribers
None
D38506.diff
View Options
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1433,16 +1433,14 @@
tcp6_connect(struct tcpcb *tp, struct sockaddr_in6 *sin6, struct thread *td)
{
struct inpcb *inp = tptoinpcb(tp);
- struct epoch_tracker et;
int error;
+ NET_EPOCH_ASSERT();
INP_WLOCK_ASSERT(inp);
- NET_EPOCH_ENTER(et);
INP_HASH_WLOCK(&V_tcbinfo);
error = in6_pcbconnect(inp, sin6, td->td_ucred, true);
INP_HASH_WUNLOCK(&V_tcbinfo);
- NET_EPOCH_EXIT(et);
if (error != 0)
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 6:17 PM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14721356
Default Alt Text
D38506.diff (564 B)
Attached To
Mode
D38506: tcp: Remove a redundant net_epoch entry in tcp6_connect()
Attached
Detach File
Event Timeline
Log In to Comment