Skip to content

Commit f6e80ab

Browse files
Zijie Pandavem330
authored andcommitted
sctp: fix call to SCTP_CMD_PROCESS_SACK in sctp_cmd_interpreter()
Bug introduced by commit edfee03 (sctp: check src addr when processing SACK to update transport state) Signed-off-by: Zijie Pan <[email protected]> Signed-off-by: Nicolas Dichtel <[email protected]> Acked-by: Vlad Yasevich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 55462cf commit f6e80ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/sctp/sm_sideeffect.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,8 +1642,9 @@ static int sctp_cmd_interpreter(sctp_event_t event_type,
16421642
asoc->outqueue.outstanding_bytes;
16431643
sackh.num_gap_ack_blocks = 0;
16441644
sackh.num_dup_tsns = 0;
1645+
chunk->subh.sack_hdr = &sackh;
16451646
sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_SACK,
1646-
SCTP_SACKH(&sackh));
1647+
SCTP_CHUNK(chunk));
16471648
break;
16481649

16491650
case SCTP_CMD_DISCARD_PACKET:

0 commit comments

Comments
 (0)