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 1480223 - iproute does not show some geneve protocol's options when they are set
Summary: iproute does not show some geneve protocol's options when they are set
Keywords:
Status: CLOSED DUPLICATE of bug 1480207
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute
Version: 7.4-Alt
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Phil Sutter
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-10 12:28 UTC by Jaroslav Aster
Modified: 2017-08-10 13:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-10 13:04:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Aster 2017-08-10 12:28:51 UTC
Description of problem:

iproute does not show some geneve protocol's options when they are set. It is a regression against rhel-7.4.


Version-Release number of selected component (if applicable):

iproute-4.11.0-1.el7a
kernel-4.11.0-16.el7a


How reproducible:

100%


Steps to Reproduce:

1. Options udp6zerocsumtx noudp6zerocsumtx udp6zerocsumrx noudp6zerocsumrx are not printed when they are set.

# ip link add TestIface type geneve id 10 remote 192.168.11.1 udp6zerocsumtx; echo "return code: $?"
return code: 0
# ip -d link show TestIface | grep udp6zerocsumtx || echo '<<nothing>>'
<<nothing>>

2. Options udpcsum noudpcsum are printed when they are set, but they are switched. When I set udpcsum, I see noudpcsum and reverse.

# ip link add TestIface type geneve id 10 remote 192.168.11.1 udpcsum; echo "return code: $?"
return code: 0
# ip -d link show TestIface | grep udpcsum || echo '<<nothing>>'
    geneve id 10 remote 192.168.11.1 dstport 6081 noudpcsum addrgenmode eui64

# ip link add TestIface type geneve id 10 remote 192.168.11.1 noudpcsum; echo "return code: $?"
return code: 0
# ip -d link show TestIface | grep udpcsum || echo '<<nothing>>'
    geneve id 10 remote 192.168.11.1 dstport 6081 udpcsum addrgenmode eui64 


Actual results:

Some options are not printed.


Expected results:

All options are printed.

Comment 2 Phil Sutter 2017-08-10 12:43:13 UTC
Hi Jaroslav,

Flags udp6zerocsumtx noudp6zerocsumtx udp6zerocsumrx noudp6zerocsumrx are only valid for IPv6 tunnels. So I guess things work if you specify an IPv6 remote.

Regarding inverted udpcsum flags, see Bug 1480207.

Comment 3 Jaroslav Aster 2017-08-10 13:04:11 UTC
Hi Phil,

you are right. I had a mistake in my test. It passed on rhel-7.4, so I missed it. I fixed my test and it passed now. So there is only one issue with udpcsum and it is, as you wrote, kernel issue.

I will close this bug as a duplicate and we will track issue in bz#1480207. Thanks for investigation.

*** This bug has been marked as a duplicate of bug 1480207 ***


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