Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename interfaces back on connection close #72

Merged
merged 5 commits into from
Dec 8, 2020

Conversation

Bolodya1997
Copy link

Issue

After the connection close, kernel interface still has new name. If client returns and forwarder tries to select another VF for the client, it can result in naming collisions.

Solution

Keep renames mapping, revert renames on failure/close.

@Bolodya1997 Bolodya1997 force-pushed the fix branch 17 times, most recently from 76e6997 to 697a6e8 Compare November 19, 2020 04:11
Vladimir Popov added 4 commits December 2, 2020 16:04
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@Bolodya1997 Bolodya1997 marked this pull request as draft December 2, 2020 13:26
@Bolodya1997 Bolodya1997 force-pushed the fix branch 2 times, most recently from f23a3b7 to 70390bb Compare December 7, 2020 09:59
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@Bolodya1997 Bolodya1997 marked this pull request as ready for review December 7, 2020 10:33
@haiodo haiodo merged commit 42a3594 into networkservicemesh:master Dec 8, 2020
nsmbot pushed a commit to networkservicemesh/sdk-sriov that referenced this pull request Dec 8, 2020
…k-kernel@master networkservicemesh/sdk-kernel#72

networkservicemesh/sdk-kernel PR link: networkservicemesh/sdk-kernel#72

networkservicemesh/sdk-kernel commit message:
commit 42a3594b529259db6bb92ff745cad25adbce721a
Author: Andrey Sobolev <haiodo@users.noreply.github.com>
Date:   Tue Dec 8 16:49:30 2020 +0700

    Merge pull request #72 from Bolodya1997/fix

    Rename interfaces back on connection close

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants