Return-Path: From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Cc: patrik.flykt@linux.intel.com, aar@pengutronix.de, jukka.rissanen@linux.intel.com, linux-wpan@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v6 0/6] Bluetooth: 6LoWPAN: Fix lladdr length Date: Thu, 2 Mar 2017 15:23:29 +0200 Message-Id: <20170302132335.21192-1-luiz.dentz@gmail.com> Sender: linux-bluetooth-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 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 ++++++ include/net/addrconf.h | 7 ++- net/6lowpan/core.c | 11 +++- net/6lowpan/iphc.c | 57 +++++++++++++++++---- net/bluetooth/6lowpan.c | 130 ++++++++---------------------------------------- net/ipv6/addrconf.c | 17 +++++-- 6 files changed, 110 insertions(+), 127 deletions(-) -- 2.9.3