diff mbox series

[1/6] linux-user: netlink: Add missing IFA_PROTO to host_to_target_data_addr_rtattr()

Message ID 20241129143901.11291-2-deller@kernel.org (mailing list archive)
State New
Headers show
Series linux-user: Add support for various missing netlink sockopt entries | expand

Commit Message

Helge Deller Nov. 29, 2024, 2:38 p.m. UTC
From: Helge Deller <deller@gmx.de>

Fixes this warning:
 Unknown host IFA type: 11

Signed-off-by: Helge Deller <deller@gmx.de>
---
 linux-user/fd-trans.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/linux-user/fd-trans.c b/linux-user/fd-trans.c
index c04a97c73a..6191e3115b 100644
--- a/linux-user/fd-trans.c
+++ b/linux-user/fd-trans.c
@@ -1143,6 +1143,7 @@  static abi_long host_to_target_data_addr_rtattr(struct rtattr *rtattr)
         break;
     /* string */
     case IFA_LABEL:
+    case IFA_PROTO:
         break;
     /* u32 */
     case IFA_FLAGS: