From: David S. Miller Date: Fri, 13 Apr 2007 23:37:54 +0000 (-0700) Subject: [NETFILTER] arp_tables: Fix unaligned accesses. X-Git-Tag: v2.6.21-rc7~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49688c843101ba6275756505e81af45ef50f87d7;p=pandora-kernel.git [NETFILTER] arp_tables: Fix unaligned accesses. There are two device string comparison loops in arp_packet_match(). The first one goes byte-by-byte but the second one tries to be clever and cast the string to a long and compare by longs. The device name strings in the arp table entries are not guarenteed to be aligned enough to make this value, so just use byte-by-byte for both cases. Based upon a report by . Signed-off-by: David S. Miller --- Reading git-diff-tree failed