From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luiz Augusto von Dentz 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> Cc: patrik.flykt-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, aar-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, jukka.rissanen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, linux-wpan-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: Sender: linux-bluetooth-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org 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