Skip to content

net: Save and restore msg_namelen in sock_sendmsg

Marc Dionne requested to merge mdionne/centos-stream-9:sendmsg into main

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

Merge request reports