lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 9 Feb 2012 10:59:36 +0100 (CET)
From:	Peter Meerwald <pmeerw@...erw.net>
To:	David Miller <davem@...emloft.net>
cc:	netdev@...r.kernel.org, danny.kukawka@...ect.de
Subject: Re: [PATCH 2/2] smsc95xx: allow to re-use MAC address already
 programmed

Hello David,

> > patch adds a module parameter which allows to keep the MAC address already 
> > set (e.g. by the boot loader) if it is valid (otherwise the MAC address is read 
> > from an optional EEPROM or randomly generated)

> No way, for the same reason as your other patch.
> Module parameters suck, use something generic.

is there a generic solution (yet)?

the goal is to support tftp-ing a kernel image from u-boot and doing 
a rootnfs mount in the kernel (with the same MAC address)

it was suggested to set the MAC address from userspace/initrd which seems 
to be a lot of overhead

I am aware of Danny Kukawka's work in a similar direction

the embedded approach would probably be to hand some board-specific 
callback to the 'network layer' in order to obtain a MAC whenever it is 
needed; this could replace/supplement random_ether_addr() found in many 
drivers

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ