linux(4): Add a comment explaining udata freeing on error
MFC after: 1 week
This commit is contained in:
@@ -1876,6 +1876,7 @@ linux_recvmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr,
|
||||
break;
|
||||
}
|
||||
|
||||
/* The recvmsg_scm_ is responsible to free udata on error. */
|
||||
if (error != 0)
|
||||
goto bad;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user