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)
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

Simple merge
Simple merge
Simple merge