Re: [PATCH] Fix race condition about network device name allocation

2007-06-13 Thread Dan Aloni
On Wed, Jun 13, 2007 at 09:36:31AM -0700, Stephen Hemminger wrote: > On Wed, 13 Jun 2007 12:45:21 +0300 > Dan Aloni <[EMAIL PROTECTED]> wrote: > > > On Mon, May 14, 2007 at 08:58:40AM -0700, Stephen Hemminger wrote: > > > Kenji Kaneshige found this r

Re: [PATCH] Fix race condition about network device name allocation

2007-06-13 Thread Dan Aloni
0x214 0x81006a46deb0 0x8037c9d4 class_attr_store+0x24 [1]more> 0x81006a46dec0 0x802bbe30 sysfs_write_file+0x100 0x81006a46df10 0x80277d7e vfs_write+0xbe 0x81006a46df40 0x80278400 sys_write+0x50 0x81006a46df80 0x80209e6e system_call+0x7e -- Dan Alon

Re: [PATCH] tcp_sendpage(): fix broken page iteration

2007-03-18 Thread Dan Aloni
On Sun, Mar 18, 2007 at 02:49:27PM -0700, David Miller wrote: > From: Dan Aloni <[EMAIL PROTECTED]> > Date: Sun, 18 Mar 2007 14:43:46 +0200 > > > do_tcp_sendpages() should not iterate 'pages' as an array since > > it is not an array of 'struct page *&

Re: [PATCH] tcp_sendpage(): fix broken page iteration

2007-03-18 Thread Dan Aloni
On Sun, Mar 18, 2007 at 02:43:46PM +0200, Dan Aloni wrote: > do_tcp_sendpages() should not iterate 'pages' as an array since > it is not an array of 'struct page *', but a pointer to a single > entity of 'struct page *' passed on the stack as a paramete

[PATCH] tcp_sendpage(): fix broken page iteration

2007-03-18 Thread Dan Aloni
, &page, offset, size, flags); + res = do_tcp_sendpages(sk, page, offset, size, flags); TCP_CHECK_TIMER(sk); release_sock(sk); return res; -- Dan Aloni XIV LTD, http://www.xivstorage.com da-x (at) monatomic.org, dan (at) xiv.co.il - To unsubscribe from this list: sen

[PATCH] vlan & net drivers: avoid a 4-order allocation]

2007-03-01 Thread Dan Aloni
alloc() because vfree() cannot be called in the softirq context of the RCU callback. Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> --- commit 3e6b63d0827461154066ff4c51f295bfd5006bd7 tree ccd06cfd2acd6e8f2d07dd2fa2f5cf31dc0c1011 parent 8d1117a9f5d302d8d460fbe7ef322b382e45c9ce author Dan Al