diff options
| author | Michael Tuexen <tuexen@FreeBSD.org> | 2023-03-15 21:29:52 +0000 |
|---|---|---|
| committer | Michael Tuexen <tuexen@FreeBSD.org> | 2023-03-15 21:29:52 +0000 |
| commit | 6026b45aabb3324934d076db53b48c50ce30a63d (patch) | |
| tree | 88d95339f53e27ad53e9d9ba8b90970266430345 /sys/netinet/sctp_output.c | |
| parent | 73ae25c174b515616050496dea764a943796efef (diff) | |
Diffstat (limited to 'sys/netinet/sctp_output.c')
| -rw-r--r-- | sys/netinet/sctp_output.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 97e89cb1396c..2ce05336482a 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -5804,6 +5804,11 @@ do_a_abort: #endif } } + if (asoc != NULL) { + stc.zero_checksum = asoc->zero_checksum > 0 ? 1 : 0; + } else { + stc.zero_checksum = inp->zero_checksum; + } /* Now lets put the SCTP header in place */ initack = mtod(m, struct sctp_init_ack_chunk *); /* Save it off for quick ref */ |
