diff options
| author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-05-09 01:31:28 -0700 | 
|---|---|---|
| committer | Chris Wright <chrisw@sous-sol.org> | 2007-05-23 14:32:47 -0700 | 
| commit | fbae8ffe8398d38ed2fcd18a8c0376cb726642ff (patch) | |
| tree | 7edaeebc76c072758b1aa2d16ddd7f352fb9ba0f /net/sunrpc/svcauth_unix.c | |
| parent | bd5a9dc19af802dd0174971a4e22c0afaf51ab7c (diff) | |
[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 copy_to_user() might sleep. the call to
sctp_copy_laddrs_to_user() while holding the lock is also problematic
as it calls copy_to_user()
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions
