View | Details | Raw Unified | Return to bug 57661
Collapse All | Expand All

(-)linux-2.6.5/net/ipv4/netfilter/ip_tables.c (-1 / +1 lines)
Lines 1461-1467 tcp_find_option(u_int8_t option, Link Here
1461
		int *hotdrop)
1461
		int *hotdrop)
1462
{
1462
{
1463
	/* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */
1463
	/* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */
1464
	char opt[60 - sizeof(struct tcphdr)];
1464
	u_int8_t opt[60 - sizeof(struct tcphdr)];
1465
	unsigned int i;
1465
	unsigned int i;
1466
1466
1467
	duprintf("tcp_match: finding option\n");
1467
	duprintf("tcp_match: finding option\n");
(-)linux-2.6.5/net/ipv6/netfilter/ip6_tables.c (-1 / +1 lines)
Lines 1543-1549 tcp_find_option(u_int8_t option, Link Here
1543
		int *hotdrop)
1543
		int *hotdrop)
1544
{
1544
{
1545
	/* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */
1545
	/* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */
1546
	char opt[60 - sizeof(struct tcphdr)];
1546
	u_int8_t opt[60 - sizeof(struct tcphdr)];
1547
	unsigned int i;
1547
	unsigned int i;
1548
1548
1549
	duprintf("tcp_match: finding option\n");
1549
	duprintf("tcp_match: finding option\n");

Return to bug 57661