From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luiz Augusto von Dentz Subject: [PATCH v7 0/6] Bluetooth: 6LoWPAN: Fix lladdr length Date: Sun, 12 Mar 2017 10:19:32 +0200 Message-ID: <20170312081938.11700-1-luiz.dentz@gmail.com> Cc: patrik.flykt@linux.intel.com, aar@pengutronix.de, jukka.rissanen@linux.intel.com, linux-wpan@vger.kernel.org, netdev@vger.kernel.org To: linux-bluetooth@vger.kernel.org Return-path: Received: from mail-lf0-f53.google.com ([209.85.215.53]:36395 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbdCLITn (ORCPT ); Sun, 12 Mar 2017 04:19:43 -0400 Sender: netdev-owner@vger.kernel.org List-ID: From: Luiz Augusto von Dentz These patches fixes lladdr length to be 6 bytes long and not 8 which cause neighbor advertisement to be sent with wrong lladdr including FF:FE filler bytes for eui64. Note: This does not fix some of the existing crashes which I hope to address in a different set. v2: Make all code paths that generate a link-local from lladdr use the same code. v3: Use lowpan_iphc_uncompress_eui48_lladdr to generate the remote ip address. v4: Handle comments from Stefan Schmidt. v5: Add patch to fix IID format for Bluetooth v6: Fix addrconf_ifid_eui48 to follow IID format for Bluetooth v7: Rework addrconf_ifid_6lowpan so it doesn't use addrconf_ifid_eui48 Alexander Aring (2): 6lowpan: iphc: override l2 packet information ipv6: addrconf: fix 48 bit 6lowpan autoconfiguration Luiz Augusto von Dentz (2): 6lowpan: Use netdev addr_len to determine lladdr len 6lowpan: Fix IID format for Bluetooth Patrik Flykt (2): bluetooth: Set 6 byte device addresses 6lowpan: Set MAC address length according to LOWPAN_LLTYPE include/net/6lowpan.h | 15 ++++++ net/6lowpan/core.c | 11 +++- net/6lowpan/iphc.c | 57 +++++++++++++++++---- net/bluetooth/6lowpan.c | 130 ++++++++---------------------------------------- net/ipv6/addrconf.c | 23 ++++++--- 5 files changed, 109 insertions(+), 127 deletions(-) -- 2.9.3