WSL2-Linux-Kernel/net/ceph
Ilya Dryomov e9226d7c9f libceph: eliminate unnecessary allocation in process_one_ticket()
Commit c27a3e4d66 ("libceph: do not hard code max auth ticket len")
while fixing a buffer overlow tried to keep the same as much of the
surrounding code as possible and introduced an unnecessary kmalloc() in
the unencrypted ticket path.  It is likely to fail on huge tickets, so
get rid of it.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-31 23:43:08 +03:00
..
crush
Kconfig libceph: select CRYPTO_CBC in addition to CRYPTO_AES 2014-10-14 21:03:20 +04:00
Makefile
armor.c
auth.c
auth_none.c
auth_none.h
auth_x.c libceph: eliminate unnecessary allocation in process_one_ticket() 2014-10-31 23:43:08 +03:00
auth_x.h
auth_x_protocol.h
buffer.c
ceph_common.c libceph: Convert pr_warning to pr_warn 2014-10-14 21:03:23 +04:00
ceph_fs.c
ceph_hash.c
ceph_strings.c libceph: sync osd op definitions in rados.h 2014-10-14 12:57:02 -07:00
crypto.c KEYS: Remove key_type::match in favour of overriding default by match_preparse 2014-09-16 17:36:06 +01:00
crypto.h
debugfs.c libceph: separate multiple ops with commas in debugfs output 2014-10-14 12:57:03 -07:00
messenger.c libceph: use memalloc flags for net IO 2014-10-30 13:11:50 +03:00
mon_client.c libceph: Convert pr_warning to pr_warn 2014-10-14 21:03:23 +04:00
msgpool.c
osd_client.c libceph: sync osd op definitions in rados.h 2014-10-14 12:57:02 -07:00
osdmap.c libceph: Convert pr_warning to pr_warn 2014-10-14 21:03:23 +04:00
pagelist.c libceph: reference counting pagelist 2014-10-14 12:56:48 -07:00
pagevec.c ceph_sync_read: stop poking into iov_iter guts 2014-05-06 17:39:42 -04:00
snapshot.c