Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cdebb42 authored by Shirley Ma's avatar Shirley Ma Committed by David S. Miller
Browse files

sock.h: Add a new sock zero-copy flag



Signed-off-by: default avatarShirley Ma <xma@us.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 380b153c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)