bridge: Use ether_addr_copy and ETH_ALEN
authorJoe Perches <joe@perches.com>
Sun, 23 Feb 2014 08:05:25 +0000 (00:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 00:16:43 +0000 (19:16 -0500)
commite5a727f6632654098fa4e87d8551a5873e8f658a
tree1857fd4823e2f393b400550039018563bf7f9591
parente8b39015b591f359d464d026170dcf76f7ed5b8e
bridge: Use ether_addr_copy and ETH_ALEN

Convert the more obvious uses of memcpy to ether_addr_copy.

There are still uses of memcpy that could be converted but
these addresses are __aligned(2).

Convert a couple uses of 6 in gr_private.h to ETH_ALEN.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_multicast.c
net/bridge/br_private.h