Bug 133235 - [netinet] [patch] Process SIOCDLIFADDR command incorrectly in in_control()
Summary: [netinet] [patch] Process SIOCDLIFADDR command incorrectly in in_control()
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 7.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 04:30 UTC by soflare
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments
file.diff (660 bytes, patch)
2009-03-31 04:30 UTC, soflare
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description soflare 2009-03-31 04:30:02 UTC
Can't delete an alias by using SIOCDLIFADDR command. Always return EADDRNOTAVAIL.

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-03-31 06:49:29 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 liangzy 2009-03-31 11:02:50 UTC
The long expression:

candidate.s_addr = ((struct sockaddr_in *)&ifa->ifa_addr)->sin_addr.s_addr;

will cause a compilation problem in my machine. The target can be generated but was wrong.
So I split it to 2 short expressions.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:45 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped