mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
sctp: fix call to SCTP_CMD_PROCESS_SACK in sctp_cmd_interpreter()
[ Upstream commitf6e80abeab] Bug introduced by commitedfee0339e(sctp: check src addr when processing SACK to update transport state) Signed-off-by: Zijie Pan <zijie.pan@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8a7173c58c
commit
b23270416d
@@ -1604,8 +1604,9 @@ static int sctp_cmd_interpreter(sctp_event_t event_type,
|
||||
asoc->outqueue.outstanding_bytes;
|
||||
sackh.num_gap_ack_blocks = 0;
|
||||
sackh.num_dup_tsns = 0;
|
||||
chunk->subh.sack_hdr = &sackh;
|
||||
sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_SACK,
|
||||
SCTP_SACKH(&sackh));
|
||||
SCTP_CHUNK(chunk));
|
||||
break;
|
||||
|
||||
case SCTP_CMD_DISCARD_PACKET:
|
||||
|
||||
Reference in New Issue
Block a user