Skip to contentSkip to conversation

set_bit takes a long.

PATCH In review Rusty Russell 2 participants 2 messages Jan 2, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 set_bit takes a long.

Alan has this, obviously hasn't made it to you.

This is the only part of the `set_bit takes a long' audit results I personally care about.

Thanks,
Rusty.
--
Hacking time.

include/linux/netfilter_ipv4/ip_conntrack.h +1 -1
diff -urN -I \$.*\$ -X /tmp/kerndiff.oiH8zd --minimal linux-2.4.0-test11-5/include/linux/netfilter_ipv4/ip_conntrack.h working-2.4.0-test11-5/include/linux/netfilter_ipv4/ip_conntrack.h
@@ -101,7 +101,7 @@
 	struct ip_conntrack_tuple_hash tuplehash[IP_CT_DIR_MAX];
 
 	/* Have we seen traffic both ways yet? (bitset) */
-	volatile unsigned int status;
+	volatile unsigned long status;
 
 	/* Timer function; drops refcnt when it goes off. */
 	struct timer_list timeout;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/