Skip to content

Commit

Permalink
gh-692 Do not consider SCTP abort as a shutdown complete marker and l…
Browse files Browse the repository at this point in the history
…et garbage collector handle it
  • Loading branch information
TrekkieCoder committed Jun 10, 2024
1 parent a2d7f5e commit 996b0ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/llb_dpapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

/* Hard-timeouts for ct xxx entry */
#define CT_TCP_FN_CPTO (10000000000)
#define CT_SCTP_FN_CPTO (20000000000)
#define CT_SCTP_FN_CPTO (10000000000)
#define CT_UDP_FN_CPTO (10000000000)
#define CT_UDP_EST_CPTO (20000000000)
#define CT_ICMP_EST_CPTO (20000000000)
Expand Down
4 changes: 2 additions & 2 deletions kernel/llb_kern_ct.c
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ dp_ct_sctp_sm(void *ctx, struct xfi *xf,
nstate = CT_SCTP_SHUT;
goto end;
case SCTP_ABORT:
nstate = CT_SCTP_SHUTC;
nstate = CT_SCTP_ABRT;
goto end;
}

Expand Down Expand Up @@ -1277,7 +1277,7 @@ dp_ct_sctp_sm(void *ctx, struct xfi *xf,
#endif
break;
case CT_SCTP_ABRT:
nstate = CT_SCTP_SHUTC;
nstate = CT_SCTP_ABRT;
break;
case CT_SCTP_SHUT:
if (c->type != SCTP_SHUT_ACK && dir != CT_DIR_OUT) {
Expand Down

0 comments on commit 996b0ee

Please sign in to comment.