From patchwork Fri Nov 22 14:57:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Jensen X-Patchwork-Id: 3222741 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 683289F3A0 for ; Fri, 22 Nov 2013 14:59:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6190D205BB for ; Fri, 22 Nov 2013 14:59:39 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3276B2054A for ; Fri, 22 Nov 2013 14:59:38 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjsBo-0001QX-E8; Fri, 22 Nov 2013 14:58:37 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjsBa-0000Lm-Tv; Fri, 22 Nov 2013 14:58:22 +0000 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjsBI-0000HQ-2m for linux-arm-kernel@lists.infradead.org; Fri, 22 Nov 2013 14:58:05 +0000 Received: by mail-la0-f49.google.com with SMTP id er20so1015472lab.36 for ; Fri, 22 Nov 2013 06:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qtvnh2+oUewMNdv0K2nfPuQ5yLfVC3sfjsYXqnaCnEA=; b=mjcdOaK9ruhOKgtBv6TB3a1AP/ja4eEZ7H0t0yphVmtcbrPvPz8Pxlq4QQkAXEmR5p O8VpFsmgoG3+OoVjmd5vSazUhHq1iMTgPLyJrjz2n68sjqId7wU0yUbHag3QmkvKeL4e 4G/xszppmYFW6cYjRnEX5upSTQUHWbmqUOAgJ9KmAQknlS9+E92sk1C4AgvRsbGK/Yy2 fSj4rQFUnUQoul8nkmooovVb03WE9IcC5L5pwg++DzqOzHDEqf3L6nXaFERw28fFHz7Q SPhZaTHaqXliIWO0iVBNfEFar/AWVgU70NrZpXeJkhcwyt1KXwm967FtOzqHUf9KF3hp 26pA== X-Received: by 10.152.19.2 with SMTP id a2mr10057555lae.2.1385132261846; Fri, 22 Nov 2013 06:57:41 -0800 (PST) Received: from Ildjarn.ath.cx (static-213-115-41-10.sme.bredbandsbolaget.se. [213.115.41.10]) by mx.google.com with ESMTPSA id e10sm38129328laa.6.2013.11.22.06.57.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 22 Nov 2013 06:57:41 -0800 (PST) From: Jonas Jensen To: netdev@vger.kernel.org Subject: [PATCH 3/5] net: MOXA ART: add IFF_LIVE_ADDR_CHANGE flag Date: Fri, 22 Nov 2013 15:57:20 +0100 Message-Id: <1385132242-3204-3-git-send-email-jonas.jensen@gmail.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1385132242-3204-1-git-send-email-jonas.jensen@gmail.com> References: <1385132242-3204-1-git-send-email-jonas.jensen@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131122_095804_330341_F4BD1E9B X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Jonas Jensen , davem@davemloft.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP .ndo_set_mac_address hook callback already supports IFF_LIVE_ADDR_CHANGE so add it to our flags. Signed-off-by: Jonas Jensen --- Notes: Applies to next-20131122 drivers/net/ethernet/moxa/moxart_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c index bcc6005..08c3905 100644 --- a/drivers/net/ethernet/moxa/moxart_ether.c +++ b/drivers/net/ethernet/moxa/moxart_ether.c @@ -688,7 +688,7 @@ static int moxart_mac_probe(struct platform_device *pdev) ether_setup(ndev); ndev->netdev_ops = &moxart_netdev_ops; netif_napi_add(ndev, &priv->napi, moxart_rx_poll, RX_DESC_NUM); - ndev->priv_flags |= IFF_UNICAST_FLT; + ndev->priv_flags |= IFF_UNICAST_FLT | IFF_LIVE_ADDR_CHANGE; ndev->irq = irq; SET_NETDEV_DEV(ndev, &pdev->dev);