Vlad Yasevich aad97f38b7 [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>
2007-04-28 21:09:04 -07:00
..
2007-04-25 22:29:24 -07:00
2005-10-08 15:00:57 -07:00
2005-04-16 15:20:36 -07:00
2007-02-10 23:20:11 -08:00
2007-04-25 22:29:24 -07:00
2007-04-25 22:29:24 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-10 23:20:11 -08:00
2007-04-25 22:29:24 -07:00
2007-04-25 22:29:24 -07:00
2007-02-10 23:20:11 -08:00
2007-04-25 22:29:24 -07:00
2007-04-25 22:29:24 -07:00
2007-02-10 23:20:11 -08:00
2007-04-25 22:29:24 -07:00