lkml.org 
[lkml]   [2012]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 1/2] eth: reset addr_assign_type if eth_mac_addr() called
From
From: Danny Kukawka <danny.kukawka@bisect.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@bisect.de>

Applied.


\
 
 \ /
  Last update: 2012-02-13 06:53    [W:0.161 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site