Signed-off-by: Jacob Stiffler <j-stiff...@ti.com>
---
 ...-prp-remove-the-debug-print-from-the-code.patch | 33 ++++++++++++++++++++++
 .../iproute2/iproute2_4.11.0.bbappend              |  3 +-
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 
meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-hsr-prp-remove-the-debug-print-from-the-code.patch

diff --git 
a/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-hsr-prp-remove-the-debug-print-from-the-code.patch
 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-hsr-prp-remove-the-debug-print-from-the-code.patch
new file mode 100644
index 0000000..e6dc8b3
--- /dev/null
+++ 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2/0001-hsr-prp-remove-the-debug-print-from-the-code.patch
@@ -0,0 +1,33 @@
+From dafdd0fd2bf7ce1aa2806a02a40aa5b8350e9ca0 Mon Sep 17 00:00:00 2001
+From: Murali Karicheri <m-kariche...@ti.com>
+Date: Fri, 21 Sep 2018 16:10:55 -0400
+Subject: [PATCH] hsr/prp: remove the debug print from the code.
+
+This debug print causes a parser error in iec62439 mib parser
+that expects the iplink -d output to be in a certain format to
+extract the hsr/prp interface details. This was a left over
+code from debugging which is removed to fix the issue. This print
+appears when iplink -d command is executed causing the issue.
+
+Upstream-Status: Pending
+
+Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
+---
+ ip/iplink_hsr.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/ip/iplink_hsr.c b/ip/iplink_hsr.c
+index 2153494..34e9167 100644
+--- a/ip/iplink_hsr.c
++++ b/ip/iplink_hsr.c
+@@ -134,7 +134,6 @@ static void hsr_print_opt(struct link_util *lu, FILE *f, 
struct rtattr *tb[])
+       if (!tb)
+               return;
+ 
+-      printf("%s\n", __func__);
+       if (tb[IFLA_HSR_SLAVE1] &&
+           RTA_PAYLOAD(tb[IFLA_HSR_SLAVE1]) < sizeof(__u32))
+               return;
+-- 
+2.7.4
+
diff --git 
a/meta-arago-distro/recipes-connectivity/iproute2/iproute2_4.11.0.bbappend 
b/meta-arago-distro/recipes-connectivity/iproute2/iproute2_4.11.0.bbappend
index e65d90e..2b2d6d2 100644
--- a/meta-arago-distro/recipes-connectivity/iproute2/iproute2_4.11.0.bbappend
+++ b/meta-arago-distro/recipes-connectivity/iproute2/iproute2_4.11.0.bbappend
@@ -1,8 +1,9 @@
-PR_append = ".arago1"
+PR_append = ".arago2"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI_append = " \
            file://0001-add-support-for-prp-similar-to-hsr.patch \
            file://0001-hsr-prp-add-support-for-vlan-tagged-sv-frames.patch \
+           file://0001-hsr-prp-remove-the-debug-print-from-the-code.patch \
           "
-- 
2.7.4

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to