The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=502d5e8500b9537d90ae225eed2b600ddcef2afd
commit 502d5e8500b9537d90ae225eed2b600ddcef2afd Author: Michael Tuexen <tue...@freebsd.org> AuthorDate: 2022-01-01 19:59:47 +0000 Commit: Michael Tuexen <tue...@freebsd.org> CommitDate: 2022-01-01 19:59:47 +0000 sctp: improve counting of incoming chunks MFC after: 3 days --- sys/netinet/sctp_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index ef1b44c4a3ff..222b69102bef 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -5352,12 +5352,14 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset, int lengt goto out; } if (ch->chunk_type == SCTP_SHUTDOWN_ACK) { + SCTP_STAT_INCR_COUNTER64(sctps_incontrolchunks); sctp_send_shutdown_complete2(src, dst, sh, mflowtype, mflowid, fibnum, vrf_id, port); goto out; } if (ch->chunk_type == SCTP_SHUTDOWN_COMPLETE) { + SCTP_STAT_INCR_COUNTER64(sctps_incontrolchunks); goto out; } if (ch->chunk_type != SCTP_ABORT_ASSOCIATION) {