Commit e9ecb236 authored by Andreas Dilger's avatar Andreas Dilger Committed by David S. Miller

[IPV4]: Fix bug in arp_tables.c fix.

parent f9fa9603
...@@ -180,7 +180,7 @@ static inline int arp_packet_match(const struct arphdr *arphdr, ...@@ -180,7 +180,7 @@ static inline int arp_packet_match(const struct arphdr *arphdr,
} }
/* Look for ifname matches. */ /* Look for ifname matches. */
for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { for (i = 0, ret = 0; i < IFNAMSIZ; i++) {
ret |= (indev[i] ^ arpinfo->iniface[i]) ret |= (indev[i] ^ arpinfo->iniface[i])
& arpinfo->iniface_mask[i]; & arpinfo->iniface_mask[i];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment