From 35d54e365a1d8448bcc8ee90dfd64ebd0d6137b2 Mon Sep 17 00:00:00 2001 From: "Tatyana E. Nikolova" Date: Thu, 11 Dec 2014 11:27:49 -0800 Subject: [PATCH] core/iwpm: Fix for netlink attribute length Signed-off-by: Tatyana Nikolova --- .../0005-core-iwpm-fix-attr-len.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 linux-next-pending/0005-core-iwpm-fix-attr-len.patch diff --git a/linux-next-pending/0005-core-iwpm-fix-attr-len.patch b/linux-next-pending/0005-core-iwpm-fix-attr-len.patch new file mode 100644 index 0000000..ddb8e2a --- /dev/null +++ b/linux-next-pending/0005-core-iwpm-fix-attr-len.patch @@ -0,0 +1,23 @@ +Fix for a netlink attribute, which can't be parsed because of unknown length + +Signed-off-by: Tatyana Nikolova +--- + drivers/infiniband/core/iwpm_msg.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/infiniband/core/iwpm_msg.c b/drivers/infiniband/core/iwpm_msg.c +index b85ddbc..e5558b2 100644 +--- a/drivers/infiniband/core/iwpm_msg.c ++++ b/drivers/infiniband/core/iwpm_msg.c +@@ -33,7 +33,7 @@ + + #include "iwpm_util.h" + +-static const char iwpm_ulib_name[] = "iWarpPortMapperUser"; ++static const char iwpm_ulib_name[IWPM_ULIBNAME_SIZE] = "iWarpPortMapperUser"; + static int iwpm_ulib_version = 3; + static int iwpm_user_pid = IWPM_PID_UNDEFINED; + static atomic_t echo_nlmsg_seq; +-- +1.7.1 + -- 2.46.0