Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102132902
D42634.id130211.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
796 B
Referenced Files
None
Subscribers
None
D42634.id130211.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
@@ -767,17 +767,14 @@
struct tcpcb *tp;
struct in_addr addr;
struct in6_addr addr6;
- struct epoch_tracker et;
in_port_t port = 0;
int v4 = 0;
inp = sotoinpcb(so);
KASSERT(inp != NULL, ("tcp6_usr_accept: inp == NULL"));
- NET_EPOCH_ENTER(et); /* XXXMT Why is this needed? */
INP_WLOCK(inp);
if (inp->inp_flags & INP_DROPPED) {
INP_WUNLOCK(inp);
- NET_EPOCH_EXIT(et);
return (ECONNABORTED);
}
tp = intotcpcb(inp);
@@ -804,7 +801,6 @@
tcp_bblog_pru(tp, PRU_ACCEPT, error);
TCP_PROBE2(debug__user, tp, PRU_ACCEPT);
INP_WUNLOCK(inp);
- NET_EPOCH_EXIT(et);
if (error == 0) {
if (v4)
*nam = in6_v4mapsin6_sockaddr(port, &addr);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 12:46 AM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14546716
Default Alt Text
D42634.id130211.diff (796 B)
Attached To
Mode
D42634: tcp: remove extraneous network epoch entry
Attached
Detach File
Event Timeline
Log In to Comment