Skip to content

issue: 4424629 Suppress duplicate IP warning for link-local IPv6 #387

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

Open
wants to merge 1 commit into
base: vNext
Choose a base branch
from

Conversation

BasharRadya
Copy link
Collaborator

Refrain from printing duplicate IP warning for unsupported link-local IPv6.

Description

Please provide a summary of the change.

What

Subject: what this PR is doing in one line.

Why ?

Justification for the PR. If there is existing issue/bug please reference.

How ?

It is optional but for complex PRs please provide information about the design,
architecture, approach, etc.

Change type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Tests
  • Other

Check list

  • Code follows the style de facto guidelines of this project
  • Comments have been inserted in hard to understand places
  • Documentation has been updated (if necessary)
  • Test has been added (if possible)

@BasharRadya BasharRadya requested review from pasis and galnoam July 17, 2025 13:32
@BasharRadya
Copy link
Collaborator Author

bot:retest

3 similar comments
@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@@ -245,7 +245,9 @@ void net_device_table_mgr::update_tbl()
sa_family_t family) {
auto it = net_device_map.find(ip->local_addr);
if (it != net_device_map.end()) {
duplicate_ips.insert(ip->local_addr.to_str(family));
if (!(family == AF_INET6 && ip->local_addr.is_linklocal(family))) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please put a comment with motivation for this exception. Mention that logical interfaces can have duplicate IPv6 link-local and the warning is not relevant because (1) user needs to specify interface along with link-local address and (2) XLIO doesn't support IPv6 link-local at the moment

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Refrain from printing duplicate IP warning for unsupported
link-local IPv6.

Signed-off-by: Bashar Abdelgafer <[email protected]>
@BasharRadya BasharRadya force-pushed the supress_dup_ip_link_local branch from e1f1e1f to e78133d Compare July 21, 2025 07:21
@BasharRadya BasharRadya requested a review from pasis July 21, 2025 07:22
@BasharRadya
Copy link
Collaborator Author

bot:retest

3 similar comments
@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

@BasharRadya
Copy link
Collaborator Author

bot:retest

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