Re: test7-pre4 with BH watchdog: /proc/net/tcp reading oops

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

 



> Superb!
> 
> Seems, we forgot to initialize one lock. Try this patch.
> Funny, seems it is really invisible, if /proc/net/tcp is not used. 8)

Right on! The oops seems gone. No more crash, tested with some 100000
connections (max. 60000 sockets in /proc/net/tcp). More load tomorrow
when my testbed is out of the production peak :)

thanks
  Patrick

> Alexey
> 
> 
> --- ../vger3-000826/linux/net/ipv4/tcp_minisocks.c	Wed Aug  9 21:07:17 2000
> +++ linux/net/ipv4/tcp_minisocks.c	Tue Sep  5 21:53:05 2000
> @@ -673,6 +673,7 @@
>  		newsk->done = 0;
>  		newsk->proc = 0;
>  		newsk->backlog.head = newsk->backlog.tail = NULL;
> +		newsk->callback_lock = RW_LOCK_UNLOCKED;
>  		skb_queue_head_init(&newsk->error_queue);
>  		newsk->write_space = tcp_write_space;
>  #ifdef CONFIG_FILTER
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux