From: Shirley Ma Date: Wed, 6 Jul 2011 12:17:30 +0000 (+0000) Subject: sock.h: Add a new sock zero-copy flag X-Git-Tag: next-20110726~165^2~207 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1cdebb423202e255366a321814fc6df079802a0d;p=karo-tx-linux.git sock.h: Add a new sock zero-copy flag Signed-off-by: Shirley Ma Signed-off-by: David S. Miller --- diff --git a/include/net/sock.h b/include/net/sock.h index ae56da6ec958..396f735e0cd5 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -563,6 +563,7 @@ enum sock_flags { SOCK_TIMESTAMPING_SYS_HARDWARE, /* %SOF_TIMESTAMPING_SYS_HARDWARE */ SOCK_FASYNC, /* fasync() active */ SOCK_RXQ_OVFL, + SOCK_ZEROCOPY, /* buffers from userspace */ }; static inline void sock_copy_flags(struct sock *nsk, struct sock *osk)