qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/6] linux-user: netlink: Add missing IFA_PROTO to host_to


From: Laurent Vivier
Subject: Re: [PATCH v2 1/6] linux-user: netlink: Add missing IFA_PROTO to host_to_target_data_addr_rtattr()
Date: Fri, 10 Jan 2025 14:10:15 +0100
User-agent: Mozilla Thunderbird

Le 27/12/2024 à 21:54, deller@kernel.org a écrit :
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 --git a/linux-user/fd-trans.c b/linux-user/fd-trans.c
index c04a97c73a..a86ed2f4b4 100644
--- a/linux-user/fd-trans.c
+++ b/linux-user/fd-trans.c
@@ -1140,6 +1140,7 @@ static abi_long host_to_target_data_addr_rtattr(struct 
rtattr *rtattr)
      /* binary: depends on family type */
      case IFA_ADDRESS:
      case IFA_LOCAL:
+    case IFA_PROTO:
          break;
      /* string */
      case IFA_LABEL:

Reviewed-by: Laurent Vivier <laurent@vivier.eu>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]