diff options
author | 2012-03-05 09:39:20 +0300 | |
---|---|---|
committer | 2012-03-06 21:50:15 -0600 | |
commit | d5751469f210d2149cc2159ffff66cbeef6da3f2 (patch) | |
tree | 7d5e9af79050cfe56e4412d6ebdd90dfce55c8d9 /net/unix/af_unix.c | |
parent | cifs: possible memory leak in xattr. (diff) | |
download | wireguard-linux-d5751469f210d2149cc2159ffff66cbeef6da3f2.tar.xz wireguard-linux-d5751469f210d2149cc2159ffff66cbeef6da3f2.zip |
CIFS: Do not kmalloc under the flocks spinlock
Reorganize the code to make the memory already allocated before
spinlock'ed loop.
Cc: stable@vger.kernel.org
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions