pktgen: Use ether_addr_copy
authorJoe Perches <joe@perches.com>
Mon, 20 Jan 2014 17:52:19 +0000 (09:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 02:13:05 +0000 (18:13 -0800)
commit9ea08b129962d1df3a574bf0ce89af0dfac2a241
tree8453a5a11d8eb8eab59d464bbfaf52c7a6bf73aa
parentc62326abac8f40b904c8daebd7c1a6c624ebddd6
pktgen: Use ether_addr_copy

Use ether_addr_copy instead of memcpy(a, b, ETH_ALEN) to
save some cycles on arm and powerpc.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c