Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST
Commit 35f9c09 (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE. algif_hash, algif_skcipher, and udp used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE. This fixes sendfile() on AF_ALG. v3: also fix udp Cc: Tom Herbert <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: David S. Miller <[email protected]> Cc: <[email protected]> # 3.4.x + 3.2.x Reported-and-tested-by: Shawn Landden <[email protected]> Original-patch: Richard Weinberger <[email protected]> Signed-off-by: Shawn Landden <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information