Thread (72 messages) flat view 72 messages, 16 authors, 2012-02-11

RE: [PATCH 08/50] bnx2x: use dev_hw_addr_random() instead of random_ether_addr()

From: David Laight <hidden>
Date: 2012-02-09 10:00:06
Also in: lkml

 
+	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help