Blame SOURCES/0018-libnetlink-drop-unused-parameter-to-rtnl_dump_done.patch

cd1737
From 9346e08c2f9059decf889fb89f2859e7ed61f573 Mon Sep 17 00:00:00 2001
cd1737
From: Hangbin Liu <haliu@redhat.com>
cd1737
Date: Wed, 8 Nov 2017 14:39:08 +0800
cd1737
Subject: [PATCH] libnetlink: drop unused parameter to rtnl_dump_done
cd1737
cd1737
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1380803
cd1737
Upstream Status: iproute2.git commit 0efa625765b4
cd1737
cd1737
commit 0efa625765b4481e1e474526eb0feda747b720e5
cd1737
Author: Stephen Hemminger <stephen@networkplumber.org>
cd1737
Date:   Thu Aug 24 15:02:32 2017 -0700
cd1737
cd1737
    libnetlink: drop unused parameter to rtnl_dump_done
cd1737
cd1737
    Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
cd1737
cd1737
Signed-off-by: Hangbin Liu <haliu@redhat.com>
cd1737
---
cd1737
 lib/libnetlink.c | 5 ++---
cd1737
 1 file changed, 2 insertions(+), 3 deletions(-)
cd1737
cd1737
diff --git a/lib/libnetlink.c b/lib/libnetlink.c
cd1737
index e91bd5a..b08518d 100644
cd1737
--- a/lib/libnetlink.c
cd1737
+++ b/lib/libnetlink.c
cd1737
@@ -261,8 +261,7 @@ int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n)
cd1737
 	return sendmsg(rth->fd, &msg, 0);
cd1737
 }
cd1737
 
cd1737
-static int rtnl_dump_done(const struct rtnl_handle *rth,
cd1737
-			  struct nlmsghdr *h)
cd1737
+static int rtnl_dump_done(struct nlmsghdr *h)
cd1737
 {
cd1737
 	int len = *(int *)NLMSG_DATA(h);
cd1737
 
cd1737
@@ -368,7 +367,7 @@ int rtnl_dump_filter_l(struct rtnl_handle *rth,
cd1737
 					dump_intr = 1;
cd1737
 
cd1737
 				if (h->nlmsg_type == NLMSG_DONE) {
cd1737
-					err = rtnl_dump_done(rth, h);
cd1737
+					err = rtnl_dump_done(h);
cd1737
 					if (err < 0)
cd1737
 						return -1;
cd1737
 
cd1737
-- 
cd1737
1.8.3.1
cd1737