diff options
| author | Hannes Reinecke <hare@suse.de> | 2023-07-26 21:15:52 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-27 19:49:34 -0700 |
| commit | c004b0e00c94322a2f82a8b0b7711ed938097774 (patch) | |
| tree | 7e09e92335919cd787eae82d677c84326302f795 /net/lapb/lapb_iface.c | |
| parent | e22e358bbeb3256e2eb854493b46c815402087bb (diff) | |
net/tls: handle MSG_EOR for tls_device TX flow
tls_push_data() MSG_MORE, but bails out on MSG_EOR.
Seeing that MSG_EOR is basically the opposite of MSG_MORE
this patch adds handling MSG_EOR by treating it as the
absence of MSG_MORE.
Consequently we should return an error when both are set.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230726191556.41714-3-hare@suse.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
