[dpdk-stable] patch 'examples/multi_process: fix FreeBSD build' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Fri Jun 21 18:46:10 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/26/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/815f68fe246d634b2486a68588935d768539a824

Thanks.

Kevin Traynor

---
>From 815f68fe246d634b2486a68588935d768539a824 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Wed, 5 Jun 2019 13:30:26 +0200
Subject: [PATCH] examples/multi_process: fix FreeBSD build

[ upstream commit 996839793a2b6af80c29ffe55f4361ae23665e69 ]

Caught on FreeBSD 12:

/usr/include/netinet/ip.h:71:17: error: field 'ip_src' has incomplete type
  struct in_addr ip_src,ip_dst; /* source and dest address */
                 ^~~~~~

On FreeBSD, netinet/ip.h is not auto sufficient like on Linux.
But actually, this header is not used in the example, just remove it.

Fixes: 764bf26873b9 ("add FreeBSD support")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Tested-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 examples/multi_process/client_server_mp/mp_server/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c
index 0ddc63e92..98d675910 100644
--- a/examples/multi_process/client_server_mp/mp_server/main.c
+++ b/examples/multi_process/client_server_mp/mp_server/main.c
@@ -12,5 +12,4 @@
 #include <sys/queue.h>
 #include <errno.h>
-#include <netinet/ip.h>
 #include <signal.h>
 
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-06-21 17:22:13.095022723 +0100
+++ 0026-examples-multi_process-fix-FreeBSD-build.patch	2019-06-21 17:22:11.735518853 +0100
@@ -1 +1 @@
-From 996839793a2b6af80c29ffe55f4361ae23665e69 Mon Sep 17 00:00:00 2001
+From 815f68fe246d634b2486a68588935d768539a824 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 996839793a2b6af80c29ffe55f4361ae23665e69 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 9a8e422d4..015053370 100644
+index 0ddc63e92..98d675910 100644


More information about the stable mailing list