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 probabl

Re: [RFC] SIOCGIFCOUNT implementation

2007-04-23 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Mon, 23 Apr 2007 14:12:26 -0700 > 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.

[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

Re: SIOCGIFCOUNT

2007-04-21 Thread David Miller
From: Andi Kleen <[EMAIL PROTECTED]> Date: Sat, 21 Apr 2007 11:48:52 +0200 > On Saturday 21 April 2007 00:41:33 David Miller wrote: > > From: Andi Kleen <[EMAIL PROTECTED]> > > Date: Sat, 21 Apr 2007 00:04:51 +0200 > > > > > 0x8938 is SIOCGIFCOUNT.

Re: SIOCGIFCOUNT

2007-04-21 Thread Andi Kleen
On Saturday 21 April 2007 00:41:33 David Miller wrote: > From: Andi Kleen <[EMAIL PROTECTED]> > Date: Sat, 21 Apr 2007 00:04:51 +0200 > > > 0x8938 is SIOCGIFCOUNT. As far as I can see it is only defined in > > sockios.h, but not implemented? > > > > Should

Re: SIOCGIFCOUNT

2007-04-20 Thread David Miller
From: Andi Kleen <[EMAIL PROTECTED]> Date: Sat, 21 Apr 2007 00:04:51 +0200 > 0x8938 is SIOCGIFCOUNT. As far as I can see it is only defined in > sockios.h, but not implemented? > > Should it be removed from the include file or implemented? Unless we can be %100 certain not on