cxgbe/t4_tom: There may not be a tid to update if the connection isn't
established. MFC after: 2 weeks Sponsored by: Chelsio Communications
This commit is contained in:
parent
2ab7524597
commit
bbae171575
@ -384,6 +384,8 @@ t4_ctloutput(struct toedev *tod, struct tcpcb *tp, int dir, int name)
|
||||
|
||||
switch (name) {
|
||||
case TCP_NODELAY:
|
||||
if (tp->t_state != TCPS_ESTABLISHED)
|
||||
break;
|
||||
t4_set_tcb_field(sc, toep->ctrlq, toep->tid, W_TCB_T_FLAGS,
|
||||
V_TF_NAGLE(1), V_TF_NAGLE(tp->t_flags & TF_NODELAY ? 0 : 1),
|
||||
0, 0, toep->ofld_rxq->iq.abs_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user