mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
sctp: improve counting of incoming chunks
MFC after: 3 days
This commit is contained in:
parent
657fcf5807
commit
502d5e8500
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue