From patchwork Mon Dec 31 22:00:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stephen hemminger X-Patchwork-Id: 208896 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5F48F2C00A5 for ; Tue, 1 Jan 2013 09:01:48 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751903Ab2LaWBp (ORCPT ); Mon, 31 Dec 2012 17:01:45 -0500 Received: from mail.vyatta.com ([76.74.103.46]:32950 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885Ab2LaWBn (ORCPT ); Mon, 31 Dec 2012 17:01:43 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.vyatta.com (Postfix) with ESMTP id 8A07F1410474; Mon, 31 Dec 2012 14:01:43 -0800 (PST) X-Virus-Scanned: amavisd-new at tahiti.vyatta.com Received: from mail.vyatta.com ([127.0.0.1]) by localhost (mail.vyatta.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eSP-1r611oZi; Mon, 31 Dec 2012 14:01:42 -0800 (PST) Received: from nehalam.linuxnetplumber.net (static-50-53-80-93.bvtn.or.frontiernet.net [50.53.80.93]) by mail.vyatta.com (Postfix) with ESMTPSA id A0A2B141015A; Mon, 31 Dec 2012 14:01:42 -0800 (PST) Date: Mon, 31 Dec 2012 14:00:21 -0800 From: Stephen Hemminger To: David Miller Cc: netdev@vger.kernel.org Subject: [PATCH] vxlan: allow live mac address change Message-ID: <20121231140021.5ec82f3a@nehalam.linuxnetplumber.net> Organization: Vyatta Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The VXLAN pseudo-device doesn't care if the mac address changes when device is up. Signed-off-by: Stephen Hemminger Reviewed-by: Jiri Pirko --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/net/vxlan.c 2012-12-27 22:30:53.630796042 -0800 +++ b/drivers/net/vxlan.c 2012-12-31 10:46:25.435321912 -0800 @@ -1191,6 +1191,7 @@ static void vxlan_setup(struct net_devic dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; + dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; spin_lock_init(&vxlan->hash_lock);