git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
380b153
)
sock.h: Add a new sock zero-copy flag
author
Shirley Ma
<mashirle@us.ibm.com>
Wed, 6 Jul 2011 12:17:30 +0000
(12:17 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 7 Jul 2011 11:40:21 +0000
(
04:40
-0700)
Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
patch
|
blob
|
history
diff --git
a/include/net/sock.h
b/include/net/sock.h
index
ae56da6
..
396f735
100644
(file)
--- 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)