The branch main has been updated by tuexen:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=48345048cd1dc4f9304334606d99e95a521b36db

commit 48345048cd1dc4f9304334606d99e95a521b36db
Author:     Michael Tuexen <[email protected]>
AuthorDate: 2023-03-18 22:58:50 +0000
Commit:     Michael Tuexen <[email protected]>
CommitDate: 2023-03-18 22:58:50 +0000

    sctp: fix typo in assignment
---
 sys/netinet/sctp_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 2ce05336482a..3b9a06b72d8a 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -8428,7 +8428,7 @@ again_one_more_time:
                                         * 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;

Reply via email to