Displaying 1 result from an estimated 1 matches for "fwinv".
Did you mean:
finv
2003 Dec 26
2
[Bug 84] Unaligned access in ip_tables.c:ip_packet_match
...nst unsigned long *)indev)[i]
- ^ ((const unsigned long *)ipinfo->iniface)[i])
- & ((const unsigned long *)ipinfo->iniface_mask)[i];
- }
+ for (i = 0, ret = 0; i < IFNAMSIZ; i++) {
+ ret |= (indev[i]
+ ^ ipinfo->iniface[i])
+ & ipinfo->iniface_mask[i];
+ }
if (FWINV(ret != 0, IPT_INV_VIA_IN)) {
dprintf("VIA in mismatch (%s vs %s).%s\n",
@@ -164,11 +172,11 @@ ip_packet_match(const struct iphdr *ip,
return 0;
}
- for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) {
- ret |= (((const unsigned long *)outdev)[i]
- ^ ((const u...