linux(4): Add a comment explaining udata freeing on error

MFC after:	1 week
This commit is contained in:
Dmitry Chagin
2023-08-14 15:46:12 +03:00
parent de20eb26d0
commit 9d0c9b6d6a
+1
View File
@@ -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;