[RFC] SIOCGIFCOUNT implementation

2007-04-23 Thread Stephen Hemminger
Trivial implementation of SIOCGIFCOUNT. If you search the archives, this was suggested and rejected 6 years ago. But there maybe legacy Unix applications that could actually use it. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- net/core/dev.c | 50

Re: [RFC] SIOCGIFCOUNT implementation

2007-04-23 Thread Andi Kleen
Please also tell me what legacy application could actually use this thing when BSD itself doesn't even implement it? Some version of java seems to. I see a lot of: ioctl32(java:30851): Unknown cmd fd(3) cmd(8938){00} arg(bfbb87c4) on socket:[334628709] But just rejecting it is probably