From patchwork Tue Apr 11 19:21:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Augusto von Dentz X-Patchwork-Id: 9676009 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1196260231 for ; Tue, 11 Apr 2017 19:21:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0263F2856C for ; Tue, 11 Apr 2017 19:21:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EB668285A1; Tue, 11 Apr 2017 19:21:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D6442856C for ; Tue, 11 Apr 2017 19:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753273AbdDKTVR (ORCPT ); Tue, 11 Apr 2017 15:21:17 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:35948 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753410AbdDKTVN (ORCPT ); Tue, 11 Apr 2017 15:21:13 -0400 Received: by mail-lf0-f65.google.com with SMTP id 75so801239lfs.3; Tue, 11 Apr 2017 12:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WTvnVtWwJeFD9Uq/Ib94vAS+rl5XvDO5NLbD55kazLM=; b=pah3iyQUIrf3qkftH+3LeP+aiDR8VzAohVFST41Z1enNuJIPlgZwep583htyXrVTRL 6k/I3wnvdX8DH1H3Goxjn5YeDwwqjdsV+Pqky6jdzscos/PsRD+gdRIAOHWFoKeeyy1h 3Z8jeU6sJkXdhECYfsvI9oZRJmfCTYbV9nCpIS99IBUN+sQB0YrFVZkF7GmhIt305dXP SvRtPRCpnQnj1m5N5Eir8N6m99cvOsyOoQo3TovT7KcTrh+iExPuuB4eUq5IeSGXx1vO EXdLAqkcWenfIBeVxQjVZ8QZJL2UaWJacnVAfqhO0z+kcK/MJQm2gS4NanoBwR8EJ5QI +2VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WTvnVtWwJeFD9Uq/Ib94vAS+rl5XvDO5NLbD55kazLM=; b=FQ5KLsbzP2EPevXN0hTHaPVb8b5e17+Tsi3OMvnhqVnwTqRq6786JwV0MYpRj/Bfty B/ShXiCuvT7x56vn3t6s5iw1Z9onYgR0C+1GaGeaHaSPznWS43N25J/4hfNVH7b+isKh Y8W2Jr4xZRZeKKQpoFKIKF/Ih2vkDHZLYTED3Lby8u0yO3dW7VkMAN//q2iPxZyLe6nm Z/zyw+j75LuxUrj39hZUgKy0a6ZCaKHxtEAHLGibdBgYgfztGOnMotHMfcOeK8pdj2nC 8YQIGowYdtsDyTkk/FLWn6okdM0DLBJSyANkHfjlbuK7roSzWt8FCpHwqNxaK05GMxkd almg== X-Gm-Message-State: AFeK/H1DUqIxS/OeMQuCMTu5kNm4nYqBdaYROY2evujbxQi2JuFLFkRGEU2sk/1s15bZYg== X-Received: by 10.25.102.2 with SMTP id a2mr17136620lfc.3.1491938472168; Tue, 11 Apr 2017 12:21:12 -0700 (PDT) Received: from vudentzs-t460s.pp.htv.fi (89-27-7-11.bb.dnainternet.fi. [89.27.7.11]) by smtp.gmail.com with ESMTPSA id c1sm3604962lfc.55.2017.04.11.12.21.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Apr 2017 12:21:11 -0700 (PDT) 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 Subject: [PATCH 6/6] bluetooth: Do not set IFF_POINTOPOINT Date: Tue, 11 Apr 2017 22:21:03 +0300 Message-Id: <20170411192103.3209-6-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170411192103.3209-1-luiz.dentz@gmail.com> References: <20170411192103.3209-1-luiz.dentz@gmail.com> Sender: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Patrik Flykt The IPv6 stack needs to send and receive Neighbor Discovery messages. Remove the IFF_POINTOPOINT flag. Signed-off-by: Patrik Flykt Reviewed-by: Luiz Augusto von Dentz Acked-by: Jukka Rissanen --- net/bluetooth/6lowpan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index a4deba6..6089599 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c @@ -592,8 +592,7 @@ static void netdev_setup(struct net_device *dev) { dev->hard_header_len = 0; dev->needed_tailroom = 0; - dev->flags = IFF_RUNNING | IFF_POINTOPOINT | - IFF_MULTICAST; + dev->flags = IFF_RUNNING | IFF_MULTICAST; dev->watchdog_timeo = 0; dev->tx_queue_len = DEFAULT_TX_QUEUE_LEN;