| Subject | RE: [PATCH 08/50] bnx2x: use dev_hw_addr_random() instead of random_ether_addr() | Date | Thu, 9 Feb 2012 09:59:35 -0000 | From | "David Laight" <> |
| |
> + if (dev->addr_assign_type & NET_ADDR_RANDOM) > + dev->addr_assign_type ^= NET_ADDR_RANDOM;
Why not just: dev->addr_assign_type &= ~NET_ADDR_RANDOM; the cache is probably dirty and it won't be a critical path.
David
|