From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:54108 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964832AbcFQPg2 (ORCPT ); Fri, 17 Jun 2016 11:36:28 -0400 Subject: Patch "tipc: fix nametable publication field in nl compat" has been added to the 4.6-stable tree To: richard.alpe@ericsson.com, davem@davemloft.net, gregkh@linuxfoundation.org, jon.maloy@ericsson.com Cc: , From: Date: Fri, 17 Jun 2016 08:36:26 -0700 Message-ID: <14661777864280@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled tipc: fix nametable publication field in nl compat to the 4.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: tipc-fix-nametable-publication-field-in-nl-compat.patch and it can be found in the queue-4.6 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From foo@baz Fri Jun 17 08:34:39 PDT 2016 From: Richard Alpe Date: Tue, 17 May 2016 16:57:37 +0200 Subject: tipc: fix nametable publication field in nl compat From: Richard Alpe [ Upstream commit 03aaaa9b941e136757b55c4cf775aab6068dfd94 ] The publication field of the old netlink API should contain the publication key and not the publication reference. Fixes: 44a8ae94fd55 (tipc: convert legacy nl name table dump to nl compat) Signed-off-by: Richard Alpe Acked-by: Jon Maloy Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/tipc/netlink_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/tipc/netlink_compat.c +++ b/net/tipc/netlink_compat.c @@ -802,7 +802,7 @@ static int tipc_nl_compat_name_table_dum goto out; tipc_tlv_sprintf(msg->rep, "%-10u %s", - nla_get_u32(publ[TIPC_NLA_PUBL_REF]), + nla_get_u32(publ[TIPC_NLA_PUBL_KEY]), scope_str[nla_get_u32(publ[TIPC_NLA_PUBL_SCOPE])]); out: tipc_tlv_sprintf(msg->rep, "\n"); Patches currently in stable-queue which might be from richard.alpe@ericsson.com are queue-4.6/tipc-check-nl-sock-before-parsing-nested-attributes.patch queue-4.6/tipc-fix-nametable-publication-field-in-nl-compat.patch