Re: [PATCH] tun: don't zeroize sock->file on detach

2012-08-22 Thread Stanislav Kinsbursky
21.08.2012 21:18, Neal Cardwell пишет: On Tue, Aug 21, 2012 at 12:04 PM, Stanislav Kinsbursky wrote: 10.08.2012 03:16, David Miller пишет: From: Stanislav Kinsbursky Date: Thu, 09 Aug 2012 16:50:40 +0400 This is a fix for bug, introduced in 3.4 kernel by commit 1ab5ecb90cb6a3df1476e052f76a

Re: [PATCH] tun: don't zeroize sock->file on detach

2012-08-21 Thread Neal Cardwell
On Tue, Aug 21, 2012 at 12:04 PM, Stanislav Kinsbursky wrote: > 10.08.2012 03:16, David Miller пишет: > >> From: Stanislav Kinsbursky >> Date: Thu, 09 Aug 2012 16:50:40 +0400 >> >>> This is a fix for bug, introduced in 3.4 kernel by commit >>> 1ab5ecb90cb6a3df1476e052f76a6e8f6511cb3d, which, amon

Re: [PATCH] tun: don't zeroize sock->file on detach

2012-08-21 Thread Stanislav Kinsbursky
10.08.2012 03:16, David Miller пишет: From: Stanislav Kinsbursky Date: Thu, 09 Aug 2012 16:50:40 +0400 This is a fix for bug, introduced in 3.4 kernel by commit 1ab5ecb90cb6a3df1476e052f76a6e8f6511cb3d, which, among other things, replaced simple sock_put() by sk_release_kernel(). Below is sequ

Re: [PATCH] tun: don't zeroize sock->file on detach

2012-08-09 Thread David Miller
From: Stanislav Kinsbursky Date: Thu, 09 Aug 2012 16:50:40 +0400 > This is a fix for bug, introduced in 3.4 kernel by commit > 1ab5ecb90cb6a3df1476e052f76a6e8f6511cb3d, which, among other things, replaced > simple sock_put() by sk_release_kernel(). Below is sequence, which leads to > oops for non