From 86934cd671d499700a2ed2321fb4508d5010301b Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Mon, 5 Jan 2015 19:49:25 +0200 Subject: [PATCH] ib/core: Fixed backport Signed-off-by: Vladimir Sokolovsky --- patches/0011-BACKPORT-ib-core-for-kernels-under-3.10.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/0011-BACKPORT-ib-core-for-kernels-under-3.10.patch b/patches/0011-BACKPORT-ib-core-for-kernels-under-3.10.patch index c6a2faa..a24295e 100644 --- a/patches/0011-BACKPORT-ib-core-for-kernels-under-3.10.patch +++ b/patches/0011-BACKPORT-ib-core-for-kernels-under-3.10.patch @@ -419,12 +419,12 @@ index xxxxxxx..xxxxxxx xxxxxx }; +#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)) */ + -+#ifndef HAVE_NETLINK_DUMP_START_6P - return netlink_dump_start(nls, skb, nlh, &c); -+#else ++#if defined(HAVE_NETLINK_DUMP_START_6P) || defined(HAVE_NETLINK_DUMP_START_5P) + return netlink_dump_start(nls, skb, nlh, + client->cb_table[op].dump, + NULL, 0); ++#else + return netlink_dump_start(nls, skb, nlh, &c); +#endif } } -- 2.41.0