mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 23:00:21 +00:00
sock.h: Add a new sock zero-copy flag
Signed-off-by: Shirley Ma <xma@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
380b153cf5
commit
1cdebb4232
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user