net: Save and restore msg_namelen in sock_sendmsg
Merge Request Required Information
Summary of Changes
This backports upstream commit 01b2885d9415 ("net: Save and restore msg_namelen in sock_sendmsg"), to fix an issue where kernel_sendmsg can leave the msg_name-msg_namelen pair in an inconsistent state, causing lost packets if the address is reused.
Approved Development Ticket
JIRA: https://issues.redhat.com/browse/RHEL-21929
Signed-off-by: Marc Dionne mdionne@redhat.com