From: Joe Perches Date: Fri, 6 Dec 2013 22:21:01 +0000 (-0800) Subject: etherdevice: Add ether_addr_equal_unaligned X-Git-Tag: v3.14-rc1~94^2~556 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73eaef87e98a96fe8b8a586f916b2721bf512efa;p=pandora-kernel.git etherdevice: Add ether_addr_equal_unaligned Add a generic routine to test if possibly unaligned to u16 Ethernet addresses are equal. If CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is set, this uses the slightly faster generic routine ether_addr_equal, otherwise this uses memcmp. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- Reading git-diff-tree failed