]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit205557038e2878f9c09a079cc063b41a487b2518
tree1857fd4823e2f393b400550039018563bf7f9591
parent4e1d308a8e893a70793a5d2e7ec1eb3c59537179
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