sctp: fix typo in assignment

This commit is contained in:
Michael Tuexen 2023-03-18 23:58:50 +01:00
parent 069767091e
commit 48345048cd

View File

@ -8428,7 +8428,7 @@ sctp_med_chunk_output(struct sctp_inpcb *inp,
* flight size since this little guy
* is a control only packet.
*/
use_zero_crc = asoc->zero_checksum = 2;
use_zero_crc = asoc->zero_checksum == 2;
if (asconf) {
sctp_timer_start(SCTP_TIMER_TYPE_ASCONF, inp, stcb, net);
use_zero_crc = false;