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 2019012

Summary: [mptcpd] stop mptcp service, mptcp settings are still there
Product: Red Hat Enterprise Linux 9 Reporter: xmu
Component: mptcpdAssignee: Davide Caratti <dcaratti>
Status: CLOSED NOTABUG QA Contact: xmu
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-17 10:13:01 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:

Description xmu 2021-11-01 13:36:49 UTC
Description of problem:

[root@hp-dl380pg8-12 src]# ip mptcp endpoint
[root@hp-dl380pg8-12 src]# ip mptcp limits
add_addr_accepted 0 subflows 0

[root@hp-dl380pg8-12 ~]# systemctl start mptcp
[root@hp-dl380pg8-12 ~]# ip mptcp endpoint
10.73.130.145 id 1 subflow dev eno1
2620:52:0:4982:a2d3:c1ff:fefb:bbbc id 2 subflow dev eno1
[root@hp-dl380pg8-12 ~]# ip mptcp limits
add_addr_accepted 4 subflows 4
[root@hp-dl380pg8-12 ~]# systemctl stop mptcp

[root@hp-dl380pg8-12 ~]# ip mptcp endpoint  <<<<  
10.73.130.145 id 1 subflow dev eno1
2620:52:0:4982:a2d3:c1ff:fefb:bbbc id 2 subflow dev eno1
[root@hp-dl380pg8-12 ~]# ip mptcp limits  <<<< 
add_addr_accepted 4 subflows 4


Version-Release number of selected component (if applicable):
mptcpd-0.8-1.el9.x86_64

How reproducible:
always

Steps to Reproduce:
1. 
systemctl start mptcp
systemctl stop mptcp
ip mptcp endpoint
ip mptcp limits

2.
3.

Actual results:
[root@hp-dl380pg8-12 ~]# ip mptcp endpoint    
10.73.130.145 id 1 subflow dev eno1
2620:52:0:4982:a2d3:c1ff:fefb:bbbc id 2 subflow dev eno1
[root@hp-dl380pg8-12 ~]# ip mptcp limits   
add_addr_accepted 4 subflows 4

Expected results:
[root@hp-dl380pg8-12 src]# ip mptcp endpoint
[root@hp-dl380pg8-12 src]# ip mptcp limits
add_addr_accepted 0 subflows 0

Additional info:

Comment 1 Davide Caratti 2022-07-28 15:23:46 UTC
same happens with upstream mptcpd. Changing this behavior potentially causes all MPTCP to close all subflows (except the initial one that negotiated MPC): maybe it's something we don't actually want. Repurposing for 9.2, but we might actually want to close this as NOTABUG *if* invalid endpoints are flushed when the mptcpd service is started

Comment 3 xmu 2023-02-17 03:37:45 UTC
(In reply to Davide Caratti from comment #1)
> same happens with upstream mptcpd. Changing this behavior potentially causes
> all MPTCP to close all subflows (except the initial one that negotiated
> MPC): maybe it's something we don't actually want. Repurposing for 9.2, but
> we might actually want to close this as NOTABUG *if* invalid endpoints are
> flushed when the mptcpd service is started

Davide,
I agree to close the bug as NOTABUG. Thanks!

Comment 4 Davide Caratti 2023-02-17 10:13:01 UTC
(In reply to xmu from comment #3)

[...]

> Davide,
> I agree to close the bug as NOTABUG. Thanks!

thanks!