RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1722706 - SctpOutCtrlChunks does not count "SACK + DATA" bundling chunk
Summary: SctpOutCtrlChunks does not count "SACK + DATA" bundling chunk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kernel
Version: 7.5
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Xin Long
QA Contact: ying xu
URL:
Whiteboard:
Depends On:
Blocks: 1728129
TreeView+ depends on / blocked
 
Reported: 2019-06-21 04:32 UTC by jajeon
Modified: 2023-09-07 20:09 UTC (History)
9 users (show)

Fixed In Version: kernel-3.10.0-1069.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1728129 (view as bug list)
Environment:
Last Closed: 2020-03-31 19:22:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1016 0 None None None 2020-03-31 19:23:14 UTC

Comment 10 jajeon 2019-07-01 00:36:31 UTC
Hi Marcelo,

RHEL7.1 is version that I was able to repro internally and customer is using RHEL7.5.
RHEL7.5 is still valid, hence could you please investigate the issue?

I really need confirmation whether this is defect or not first since IETF RFC seems not very specific.

Comment 11 Xin Long 2019-07-01 09:04:44 UTC
(In reply to jajeon from comment #10)
> Hi Marcelo,
> 
> RHEL7.1 is version that I was able to repro internally and customer is using
> RHEL7.5.
> RHEL7.5 is still valid, hence could you please investigate the issue? 
> 
> I really need confirmation whether this is defect or not first since IETF
> RFC seems not very specific.

It might not say it very specifically, but it's clear that SACK is a control chunk, no matter it's bundled with DATA chunks or not.
The issue is in sctp_packet_bundle_sack() which won't go to the path in c2, we need a fix:

static enum sctp_xmit sctp_packet_bundle_sack(struct sctp_packet *pkt,
                                              struct sctp_chunk *chunk)
{
...
                        sack = sctp_make_sack(asoc);
                        if (sack) {
                                retval = __sctp_packet_append_chunk(pkt, sack);
                                if (retval != SCTP_XMIT_OK) {
                                        sctp_chunk_free(sack);
                                        goto out;
                                }
+                               asoc->stats.octrlchunks++; <--- we need asd
                                asoc->peer.sack_needed = 0;
                                if (del_timer(timer))
                                        sctp_association_put(asoc);
                        }
...

Comment 18 Jan Stancek 2019-08-09 10:01:43 UTC
Patch(es) committed on kernel-3.10.0-1069.el7

Comment 21 ying xu 2019-08-14 03:40:48 UTC
this bug can be verified on version:kernel-3.10.0-1070.el7.x86_64

https://beaker.engineering.redhat.com/jobs/3725483


:: [ 05:37:30 ] :: [  BEGIN   ] :: Running 'SctpOutCtrlChunks=0'
:: [ 05:37:30 ] :: [   PASS   ] :: Command 'SctpOutCtrlChunks=0' (Expected 0, got 0)
:: [ 05:37:30 ] :: [  BEGIN   ] :: Running 'SctpInCtrlChunks=0'
:: [ 05:37:30 ] :: [   PASS   ] :: Command 'SctpInCtrlChunks=0' (Expected 0, got 0)
:: [ 05:37:52 ] :: [  BEGIN   ] :: Running 'SctpOutCtrlChunks1=30'
:: [ 05:37:52 ] :: [   PASS   ] :: Command 'SctpOutCtrlChunks1=30' (Expected 0, got 0)
:: [ 05:37:52 ] :: [  BEGIN   ] :: Running 'SctpInCtrlChunks1=30'
:: [ 05:37:52 ] :: [   PASS   ] :: Command 'SctpInCtrlChunks1=30' (Expected 0, got 0)
:: [ 05:37:52 ] :: [   PASS   ] :: SctpOutCtrlChunks:30 should be equal to SctpInCtrlChunks:30 (Assert: '30' should equal '30')

Comment 26 errata-xmlrpc 2020-03-31 19:22:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1016


Note You need to log in before you can comment on or make changes to this bug.