[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120213.005003.188848469193975189.davem@davemloft.net>
Date: Mon, 13 Feb 2012 00:50:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: danny.kukawka@...ect.de
Cc: dkukawka@...e.de, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, nhorman@...driver.com,
eric.dumazet@...il.com, rdunlap@...otime.net
Subject: Re: [PATCH v2 1/2] eth: reset addr_assign_type if eth_mac_addr()
called
From: Danny Kukawka <danny.kukawka@...ect.de>
Date: Thu, 9 Feb 2012 20:48:53 +0100
> If eth_mac_addr() get called, usually if SIOCSIFHWADDR was
> used to change the MAC of a ethernet device, reset the
> addr_assign_type to NET_ADDR_PERM if the state was
> NET_ADDR_RANDOM before. Reset the state since the MAC is
> no longer random at least not from the kernel side.
>
> v2: changed to bitops, removed if()
>
> Signed-off-by: Danny Kukawka <danny.kukawka@...ect.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists