From: Vlad Yasevich [EMAIL PROTECTED]
Date: Thu, 26 Apr 2007 09:22:11 -0400
Here is an updated patch. bytes_copied got turned into an int
everywhere since that is what the new API expects, so it should be
enough for the old api as well. This also makes the code more
consistent.
Applied,
David Miller wrote:
From: Vlad Yasevich [EMAIL PROTECTED]
Date: Mon, 23 Apr 2007 13:43:35 -0400
[PATCH] [SCTP] Fix sctp_getsockopt_local_addrs_old() to use local storage
sctp_getsockopt_local_addrs_old() in net/sctp/socket.c calls copy_to_user()
while the spinlock addr_lock is held. this
From: Vlad Yasevich [EMAIL PROTECTED]
Date: Mon, 23 Apr 2007 13:43:35 -0400
[PATCH] [SCTP] Fix sctp_getsockopt_local_addrs_old() to use local storage
sctp_getsockopt_local_addrs_old() in net/sctp/socket.c calls copy_to_user()
while the spinlock addr_lock is held. this should not be done as
Andrew Morton wrote:
On Mon, 16 Apr 2007 14:34:22 -0700
[EMAIL PROTECTED] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=8342
Summary: sctp_getsockopt_local_addrs_old() calls copy_to_user()
while a spinlock is held
Kernel Version: 2.6.20
On Mon, 16 Apr 2007 14:34:22 -0700
[EMAIL PROTECTED] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=8342
Summary: sctp_getsockopt_local_addrs_old() calls copy_to_user()
while a spinlock is held
Kernel Version: 2.6.20
Status: NEW