[PATCH 1/4] net/tls: handle MSG_EOR for tls_sw TX flow
Jakub Kicinski
kuba at kernel.org
Fri Jun 16 23:26:00 PDT 2023
On Wed, 14 Jun 2023 08:22:09 +0200 Hannes Reinecke wrote:
> @@ -1287,7 +1290,7 @@ int tls_sw_sendpage_locked(struct sock *sk, struct page *page,
> struct bio_vec bvec;
> struct msghdr msg = { .msg_flags = flags | MSG_SPLICE_PAGES, };
>
> - if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL |
> + if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | MSG_EOR |
> MSG_SENDPAGE_NOTLAST | MSG_SENDPAGE_NOPOLICY |
> MSG_NO_SHARED_FRAGS))
> return -EOPNOTSUPP;
you added it to sendpage_locked but not normal sendpage
More information about the Linux-nvme
mailing list