home: hub: mkinitfs

Download patch

ref: 9345e8f8bfc14cc4b4edee07ad9ed804b94850ac
parent: 7095d01d069a62541d18a4b0aa31617efd88b815
author: Natanael Copa <ncopa@alpinelinux.org>
date: Thu Apr 14 09:19:26 CDT 2022

nlplug-findfs: add warning about skipped netlink messages

--- a/nlplug-findfs/nlplug-findfs.c
+++ b/nlplug-findfs/nlplug-findfs.c
@@ -1396,8 +1396,10 @@
 					continue;
 				err(1, "recvmsg");
 			}
-			if (len < 32 || len >= sizeof(buf))
+			if (len < 32 || len >= sizeof(buf)) {
+				warnx("Skipping message due to size=%zu", len);
 				continue;
+			}
 
 			total_bytes += len;
 			chdr = CMSG_FIRSTHDR(&hdr);