]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Persistently store NIC's hardware MAC address, and add a way to retrive it
authorrpokala <rpokala@FreeBSD.org>
Thu, 11 May 2017 06:46:39 +0000 (06:46 +0000)
committerrpokala <rpokala@FreeBSD.org>
Thu, 11 May 2017 06:46:39 +0000 (06:46 +0000)
commit22bc11147b048ef4ae05cca49ca9c6baf8fe9993
treef789ae449e45c1caf4e21f32f2840fd9edaf9b05
parent46da9e8a4db6757119ad0a4d145c405ea08da997
Persistently store NIC's hardware MAC address, and add a way to retrive it

An earlier version of r318160 allocated if_hw_addr unconditionally; when it
became conditional, I forgot to check for NULL in ether_ifattach().

Reviewed by: kp
MFC after: 1 week
MFC with: r318160
Sponsored by: Panasas
Differential Revision: https://reviews.freebsd.org/D10678
Pointy-hat to: rpokala
sys/net/if_ethersubr.c