Re: [PATCH resent] tcp: ioctl type SIOCOUTQNSD returns amount ofdata not sent

From: Steffen Sledz
Date: Fri Mar 04 2011 - 04:51:37 EST


Am 04.03.2011 10:04, schrieb David Miller:
> From: Steffen Sledz <sledz@xxxxxxxxxxxx>
> Date: Fri, 4 Mar 2011 09:48:17 +0100
>
>> diff --git a/include/asm-generic/ioctls.h b/include/asm-generic/ioctls.h
>> index 199975f..ef2be0b 100644
>> --- a/include/asm-generic/ioctls.h
>> +++ b/include/asm-generic/ioctls.h
>> @@ -74,6 +74,7 @@
>> #define TCSETXW 0x5435
>> #define TIOCSIG _IOW('T', 0x36, int) /* pty: generate signal */
>> #define TIOCVHANGUP 0x5437
>> +#define TIOCOUTQNSD 0x5438
>>
>> #define FIONCLEX 0x5450
>> #define FIOCLEX 0x5451
>
> Hitting only asm-generic/ioctls.h is insufficient, many architectures do
> not make use of this file and the build will fail for them with your patch
> applied.

That's not fully clear to me.

We made the define similar to the existing TIOCOUTQ. What other files should be hit?

Steffen Sledz

--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@xxxxxxxxxxxx
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/