Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1444440
| From | David Laight <David.Laight@ACULAB.COM> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH] rndis_host: Set random MAC for ZTE MF910 |
| Date | 2016-07-15 18:50 +0200 |
| Message-ID | <rVetj-No-1@gated-at.bofh.it> (permalink) |
| References | <rUvwd-5D5-9@gated-at.bofh.it> <rUAPg-Ph-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Bjørn Mork > Sent: 13 July 2016 23:23 ... > Or how about the more generic?: > > if (bp[0] & 0x02) > eth_hw_addr_random(net); > else > ether_addr_copy(net->dev_addr, bp); > > That would catch similar screwups from other vendors too. Not really, that disables 'locally administered' addresses. If a vendor has used the same address on lots of cards it could easily be a 'real' address. Not only that, there certainly used to be manufacturers that used 'locally administered' addresses on all their cards (as well as those that used unallocated address blocks). Not to mention the bit-revered addresses.... David
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] rndis_host: Set random MAC for ZTE MF910 Kristian Evensen <kristian.evensen@gmail.com> - 2016-07-13 18:50 +0200
Re: [PATCH] rndis_host: Set random MAC for ZTE MF910 Bjørn Mork <bjorn@mork.no> - 2016-07-14 00:30 +0200
Re: [PATCH] rndis_host: Set random MAC for ZTE MF910 Kristian Evensen <kristian.evensen@gmail.com> - 2016-07-14 10:00 +0200
Re: [PATCH] rndis_host: Set random MAC for ZTE MF910 Kristian Evensen <kristian.evensen@gmail.com> - 2016-07-14 10:10 +0200
RE: [PATCH] rndis_host: Set random MAC for ZTE MF910 David Laight <David.Laight@ACULAB.COM> - 2016-07-15 18:50 +0200
Re: [PATCH] rndis_host: Set random MAC for ZTE MF910 Bjørn Mork <bjorn@mork.no> - 2016-07-15 19:50 +0200
Re: [PATCH] rndis_host: Set random MAC for ZTE MF910 David Miller <davem@davemloft.net> - 2016-07-17 05:10 +0200
csiph-web