Page MenuHomeFreeBSD

D38506.diff
No OneTemporary

D38506.diff

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

Mime Type
text/plain
Expires
Sun, Dec 15, 7:59 PM (18 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15417736
Default Alt Text
D38506.diff (564 B)

Event Timeline