[lkml]   [2001]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ioctl SIOCGIFNETMASK: ip alias bug 2.4.9 and 2.2.19
On Tue, 11 Sep 2001, wrote:

> A. No way to do the trick with SIOCSIF*.

Well, ioctl cannot configure IP aliases, however. Indeed, it may be
useful to change the patch to not touch the SIOCS* functions and
document that it only accesses the first one.

> B. The things does not become simpler when code does something random.
> The things become simpler when code checks something explicitly,
> otherwise you have to add comment: "Well, here we do this against
> plain logic, but this does not matter because of this, this and this."

That's true, but I would not want to make SIOCGIFADDR behave differently
than SIOCGIFNETMASK, in that case, I'd rather have SIOCGIFCONF just
return the first address per interface name.

I will prepare a new patch as my time permits (unless, of course,
someone is faster).

Matthias Andree
Outlook (Express) users: press Ctrl+F3 for the full source code of this post.
begin dont_click_this_virus.exe
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.047 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site