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

From: David Miller
Date: Fri Mar 04 2011 - 04:03:59 EST


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.
--
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/