Re: [PATCH] xt_TCPOPTSTRIP 20071006 (kernel)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Oct 8 2007 18:27, Patrick McHardy wrote:
>>>>+#define tcpoptstrip_set_bit(bmap, idx) \
>>>>+	(bmap[(idx) >> 5] |= 1UL << (idx & 31))
>> 
>> Blame linux/bitmap.h. It uses 1UL, but at the same time, limits itself
>> to uint32_t-based operations.
>
>It uses purely unsigned long, just as the bitops do.

Hm, you are right.
	Blame asm-i386/bitops.h instead - 1UL in there. :)
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux