commit | ada0f8633c5b8dad640e1a2bcb95499ec187ac17 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Sat Feb 15 16:02:17 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 17 00:29:23 2014 -0500 |
tree | 4320eccba2fcbfd3005ce48fd226b2eafbb0d2f0 | |
parent | 2ea24f2ecfdca1039cf9a9dab92ac1769224fe92 [diff] |
bonding: Convert memcpy(foo, bar, ETH_ALEN) to ether_addr_copy(foo, bar) ether_addr_copy is smaller and faster for some architectures. This relies on a stack frame being at least __aligned(2) for one use of an Ethernet address on the stack. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>