summaryrefslogtreecommitdiff
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-04-28 21:09:04 -0700
committerDavid S. Miller <davem@davemloft.net>2007-04-28 21:09:04 -0700
commitaad97f38b71dd2ecd730b3a3dce8264d13fbcd56 (patch)
tree6eade05e50c61914d0a451745881c9d6fe41f829 /net/ipv6/addrconf.c
parent5a1b5898ee9e0bf68a86609ecb9775457b1857a5 (diff)
downloadlwn-aad97f38b71dd2ecd730b3a3dce8264d13fbcd56.tar.gz
lwn-aad97f38b71dd2ecd730b3a3dce8264d13fbcd56.zip
[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>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions