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 1557599 - [RFE] Rebase ipset (kernel) to latest upstream
Summary: [RFE] Rebase ipset (kernel) to latest upstream
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kernel
Version: 7.5
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Stefano Brivio
QA Contact: yiche
Ioanna Gkioka
Depends On:
Blocks: 1445152 1496859 1504578 1541064 1554861
TreeView+ depends on / blocked
Reported: 2018-03-17 01:52 UTC by Stefano Brivio
Modified: 2018-10-30 08:49 UTC (History)
9 users (show)

Fixed In Version: kernel-3.10.0-894.el7
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
*ipset* rebased to Linux kernel version 4.17 The *ipset* kernel component has been upgraded to upstream Linux kernel version 4.17 which provides a number of enhancements and bug fixes over the previous version. Notable changes include: * The following *ipset* types are now supported: * hash:net,net * hash:net,port,net * hash:ip,mark * hash:mac * hash:ip,mac
Clone Of:
Last Closed: 2018-10-30 08:49:46 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1445152 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1445152

Description Stefano Brivio 2018-03-17 01:52:20 UTC
We now have customer bugs requesting features that have been introduced upstream quite recently, and it would be impractical and risky to introduce them with the big gap we currently have in our codebase.

We had recent, critical bugs, that were fixed upstream, but we couldn't conveniently backport any patch, and we had to resort to RHEL-only patches. See e.g. bz1517397.

Furthermore, the userspace component is more recent than the kernel implementation, and supports set types that are not supported in kernel, causing obvious inconsistencies. Also the current upstream test suite is unusable with our current kernel implementation.

This poses a strong case for a rebase of the kernel component.

Comment 5 Bruno Meneguele 2018-05-29 10:06:21 UTC
Patch(es) committed on kernel repository and an interim kernel build is undergoing testing

Comment 6 Bruno Meneguele 2018-05-29 10:39:39 UTC
Patch(es) available on kernel-3.10.0-894.el7

Comment 9 yiche 2018-07-20 06:57:46 UTC
I have run upstream test: git clone git://git.netfilter.org/ipset on kernel-3.10.0-898.el7 and get result:
all items gone through

review result.log,there is only one item failed:
Failed test: ./check_klog.sh udp 1025 netiface

that because when exec 
sendip -p ipv4 -id -is -p udp -ud 80 -us 1025

there is a few iptables rule remain:
Chain OUTPUT (policy ACCEPT 29 packets, 3576 bytes)
pkts bytes target     prot opt in     out     source               destination         
    0     0 LOG        all  --  *      *              match-set test dst,dst LOG flags 0 level 4 prefix "in set netiface: "
    1    28 DROP       all  --  *      * 

That drop cause sendto() EPERM (Operation not permitted). sendip use RAW socket to generate IP payload.

I don't think it's a issue.

Comment 10 yiche 2018-07-20 07:17:03 UTC
I also cover these type: 
- hash:net,net
- hash:net,port,net
- hash:ip,mark
- hash:ip,mac
basic function works fine.
no issue found.

Comment 12 yiche 2018-08-02 02:12:11 UTC
There is a issue hash:mac can't be matched as a destination MAC address. 
Bug 1607252

Comment 14 Stefano Brivio 2018-08-02 21:18:41 UTC
Hi Yi Chen,

(In reply to yiche from comment #12)

> There is a issue hash:mac can't be matched as a destination MAC address. 
> Bug 1607252

Wouldn't it make sense to keep this as VERIFIED, though, and track the additional issue separately?

Comment 15 yiche 2018-08-03 01:01:06 UTC
Ok,We can track it separately.

Comment 21 errata-xmlrpc 2018-10-30 08:49:46 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.


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