projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/include/net/sock.h
b/include/net/sock.h
index ae56da6ec958536c4c489229bde8e8c37fa893ae..396f735e0cd5994fc72abafbaa08420967c57def 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)