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 1860883 - [iproute] [mptcp] setting ID fail
Summary: [iproute] [mptcp] setting ID fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: iproute
Version: 8.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.0
Assignee: Andrea Claudi
QA Contact: xmu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-27 10:34 UTC by xmu
Modified: 2021-11-10 07:43 UTC (History)
3 users (show)

Fixed In Version: iproute-5.12.0-0.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:36:36 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4389 0 None None None 2021-11-09 19:37:01 UTC

Description xmu 2020-07-27 10:34:15 UTC
Description of problem:
Since the 'id' field value is picked/selected by the kernel, it's useless for adding command. it's easy to confuse user.

1. man page:
ip mptcp endpoint add IFADDR [ dev IFNAME ] [ id ID ] [ FLAG-LIST ]
...
 ID     is a unique numeric identifier for the given endpoint

2. # ip mptcp help
Usage:	ip mptcp endpoint add ADDRESS [ dev NAME ] [ id ID ]
				      [ FLAG-LIST ]

3. # ip mptcp endpoint add 192.168.1.1 dev lo id 4 signal
# ip mptcp endpoint
192.168.1.1 id 1 signal dev lo


Version-Release number of selected component (if applicable):
iproute-5.3.0-5.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1.man ip mptcp
2.ip mptcp help
3.ip mptcp endpoint add 192.168.1.1 dev lo id 4 signal


Actual results:
1.man page:
ip mptcp endpoint add IFADDR [ dev IFNAME ] [ id ID ] [ FLAG-LIST ]
...
 ID     is a unique numeric identifier for the given endpoint
2.# ip mptcp help
Usage:	ip mptcp endpoint add ADDRESS [ dev NAME ] [ id ID ]
	                                    [ FLAG-LIST ]
3. ip mptcp endpoint add 192.168.1.1 dev lo id 4 signal

Expected results:
1. man page:
ip mptcp endpoint add IFADDR [ dev IFNAME ] [ FLAG-LIST ]
2.# ip mptcp help
Usage:	ip mptcp endpoint add ADDRESS [ dev NAME ] [ FLAG-LIST ]
3. # ip mptcp endpoint add 192.168.1.1 dev lo id 4 signal
Error: any valid address is expected rather than "id"
Additional info:

Comment 2 Andrea Claudi 2020-11-30 14:27:23 UTC
Hi Xiumei, this is work in progress in mptcp, kernel-side: https://github.com/multipath-tcp/mptcp_net-next/issues/117

From what I understand, netlink PM APIs do not allow to set endpoint id, and this results in kernel overriding any value specified using ip mptcp.
Paolo Abeni is working on it and seems to have a solution in mind.

My proposal is to add this to the docs as a known limitation, and remove the warning once the issue is fixed on the netlink side. What do you think?

Comment 3 xmu 2020-12-01 01:38:52 UTC
(In reply to Andrea Claudi from comment #2)
> Hi Xiumei, this is work in progress in mptcp, kernel-side:
> https://github.com/multipath-tcp/mptcp_net-next/issues/117
> 
> From what I understand, netlink PM APIs do not allow to set endpoint id, and
> this results in kernel overriding any value specified using ip mptcp.
> Paolo Abeni is working on it and seems to have a solution in mind.
> 
> My proposal is to add this to the docs as a known limitation, and remove the
> warning once the issue is fixed on the netlink side. What do you think?

I agree with you, Thanks

Comment 5 Andrea Claudi 2021-05-07 12:40:07 UTC
Current kernel and iproute now support this feature, Xiumei can you help to verify this in iproute-5.12.0-0.el8 (rhel-8.5)?

Comment 9 errata-xmlrpc 2021-11-09 19:36:36 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 (iproute bug fix and enhancement update), 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/RHBA-2021:4389


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