Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1559814

Summary: Backport support for matching first frag packets
Product: Red Hat Enterprise Linux 7 Reporter: Timothy Redaelli <tredaelli>
Component: iprouteAssignee: Andrea Claudi <aclaudi>
Status: CLOSED ERRATA QA Contact: Jaroslav Aster <jaster>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: aclaudi, ahleihel, atragler, jaster, jfeeney, pablo.cascon, psutter, tredaelli
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: iproute-4.11.0-21.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:54:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1559804    
Bug Blocks: 1563699, 1626963    

Description Timothy Redaelli 2018-03-23 10:42:04 UTC
Please backport the following commits (to test bz#1559804):

commit fb4e6abfca2c48380210d48c1e7f3685f8bb58fd
Author: Pieter Jansen van Vuuren <pieter.jansenvanvuuren>
Date:   Fri Mar 9 11:07:22 2018 +0100

    tc: f_flower: Add support for matching first frag packets
    
    Add matching support for distinguishing between first and later fragmented
    packets.
    
     # tc filter add dev eth0 protocol ip parent ffff: \
         flower indev eth0 \
            ip_flags firstfrag \
            ip_proto udp \
        action mirred egress redirect dev eth1
    
     # tc filter add dev eth0 protocol ip parent ffff: \
         flower indev eth0 \
            ip_flags nofirstfrag \
            ip_proto udp \
        action mirred egress redirect dev eth1
    
    Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren>
    Reviewed-by: Jakub Kicinski <jakub.kicinski>
    Signed-off-by: Simon Horman <simon.horman>
    Signed-off-by: David Ahern <dsahern>

commit 4de0a06b346e92c0fbb5bff4fbe7de31a0195497
Author: David Ahern <dsahern>
Date:   Tue Mar 13 17:59:59 2018 -0700

    Update kernel headers
    
    Update kernel headers to commit a870a02cc963
    ("pktgen: use dynamic allocation for debug print buffer")
    
    Signed-off-by: David Ahern <dsahern>

Comment 2 Timothy Redaelli 2018-03-23 10:44:13 UTC
The 2 commits are in iproute2-next git repository

Comment 8 Phil Sutter 2018-11-12 11:25:44 UTC
*** Bug 1563707 has been marked as a duplicate of this bug. ***

Comment 9 Pablo Cascon (Netronome) 2018-12-05 11:27:19 UTC
Is there a time estimate for this, can I help?

Comment 10 Phil Sutter 2018-12-06 18:08:56 UTC
Hi Pablo,

(In reply to Pablo Cascon from comment #9)
> Is there a time estimate for this, can I help?

Time estimate is RHEL7.7 GA, at least for now. Decision has not be made yet whether iproute will be updated in RHEL7.7, so I can't tell for sure. If it does, resolution of this ticket still depends on QE capacity.

Not much you could help with. Of course you could backport the patches, but I don't consider this much work. If you want to get more into maintaining iproute, I could explain once how my workflow looks like. Maybe in a BJ session?

Thanks, Phil

Comment 11 Pablo Cascon (Netronome) 2018-12-07 11:51:41 UTC
Oh I see, not having this in 7.7 would be disappointing. Happy to have Netronome to do external QA for this (have done so for other BZs).

Yeah a workflow session sounds great, I'm in!

Comment 12 Phil Sutter 2018-12-18 16:12:23 UTC
*** Bug 1659795 has been marked as a duplicate of this bug. ***

Comment 13 John Feeney 2019-03-22 17:11:36 UTC
So is this on the docket for 7.7? It has a devel ack so I am hopeful but the schedule is working against it.

As can be seen above, this is a requirement for a kernel bz from Netronome.

Thank you.

Comment 14 Phil Sutter 2019-03-23 13:00:13 UTC
Hi John,

(In reply to John Feeney from comment #13)
> So is this on the docket for 7.7? It has a devel ack so I am hopeful but the
> schedule is working against it.
> 
> As can be seen above, this is a requirement for a kernel bz from Netronome.

Yes, devel is fine with it. Sadly ticket lacks qa_ack+ for completion.

Jaroslav, please consider granting qa_ack for this ticket.

Comment 16 Pablo Cascon (Netronome) 2019-03-27 10:43:04 UTC
Is there something I can help? Happy to backport the changes proposing patches for the rpm pkg and to test it. Please let me know

Comment 17 Andrea Claudi 2019-03-27 10:46:34 UTC
Hi Pablo, testing is enough, I already backported it. Once someone grants qa_ack+ to this issue I'll take care of the package.

Comment 18 Pablo Cascon (Netronome) 2019-03-27 11:04:04 UTC
Excellent, glad to hear that. Please share a package with the changes in and will test it

Comment 20 Pablo Cascon (Netronome) 2019-05-23 16:46:08 UTC
Thanks for the backport, tested iproute-4.11.0-21.el7 at Netronome and is all good. Would set this BZ to 'Verified' but don't have permissions to do so please consider doing that.

Comment 24 errata-xmlrpc 2019-08-06 12:54:26 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/RHEA-2019:2131