X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv4%2Finetpeer.c;fp=net%2Fipv4%2Finetpeer.c;h=2160874ce7aa682db5edda0e8eacb4cce44c7e44;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=03ff62ebcfeb5fc02473c211a1abe8e19e1bfe9c;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c index 03ff62ebc..2160874ce 100644 --- a/net/ipv4/inetpeer.c +++ b/net/ipv4/inetpeer.c @@ -86,7 +86,7 @@ static struct inet_peer *peer_root = peer_avl_empty; static DEFINE_RWLOCK(peer_pool_lock); #define PEER_MAXDEPTH 40 /* sufficient for about 2^27 nodes */ -static int peer_total; +static volatile int peer_total; /* Exported for sysctl_net_ipv4. */ int inet_peer_threshold = 65536 + 128; /* start to throw entries more * aggressively at this stage */