aboutsummaryrefslogtreecommitdiff
path: root/net/core/pktgen.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-04-13 16:37:54 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-13 16:37:54 -0700
commit49688c843101ba6275756505e81af45ef50f87d7 (patch)
treee30c9d9424115282be11b1495b8bcf8a12a5885b /net/core/pktgen.c
parent612f09e8495ba656032f89147ab999ef2be9c360 (diff)
downloadlinux-stericsson-49688c843101ba6275756505e81af45ef50f87d7.tar.gz
[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 <drraid@gmail.com>. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions