Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102636485
D29302.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
832 B
Referenced Files
None
Subscribers
None
D29302.diff
View Options
diff --git a/sys/dev/cxgbe/cxgbei/icl_cxgbei.c b/sys/dev/cxgbe/cxgbei/icl_cxgbei.c
--- a/sys/dev/cxgbe/cxgbei/icl_cxgbei.c
+++ b/sys/dev/cxgbe/cxgbei/icl_cxgbei.c
@@ -369,6 +369,7 @@
void
icl_cxgbei_conn_pdu_queue(struct icl_conn *ic, struct icl_pdu *ip)
{
+ struct epoch_tracker et;
struct icl_cxgbei_conn *icc = ic_to_icc(ic);
struct icl_cxgbei_pdu *icp = ip_to_icp(ip);
struct socket *so = ic->ic_socket;
@@ -397,6 +398,8 @@
* already.
*/
inp = sotoinpcb(so);
+ CURVNET_SET(toep->vnet);
+ NET_EPOCH_ENTER(et);
INP_WLOCK(inp);
if (__predict_false(inp->inp_flags & (INP_DROPPED | INP_TIMEWAIT)) ||
__predict_false((toep->flags & TPF_ATTACHED) == 0))
@@ -406,6 +409,8 @@
t4_push_pdus(icc->sc, toep, 0);
}
INP_WUNLOCK(inp);
+ NET_EPOCH_EXIT(et);
+ CURVNET_RESTORE();
}
static struct icl_conn *
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 3:50 AM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14652719
Default Alt Text
D29302.diff (832 B)
Attached To
Mode
D29302: cxgbei: Enter network epoch and set vnet around t4_push_pdus().
Attached
Detach File
Event Timeline
Log In to Comment