]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: deprecate [no]cephx_require_signatures options
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Jan 2021 14:41:14 +0000 (15:41 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 16 Feb 2021 11:09:52 +0000 (12:09 +0100)
commitef9e1a2933be342bf7077d16722e01c15d665006
tree4aa5975dbcf645b8f85fb174ba3d3b0d94e84424
parent28bbe0a0e9ca25db574a2629ff81a0da0825067c
libceph: deprecate [no]cephx_require_signatures options

These options were introduced in 3.19 with support for message signing
and are rather useless, as explained in commit 3c58f6e2f39e ("libceph:
add nocephx_sign_messages option").  Deprecate them.

In case there is someone out there with a cluster that lacks support
for MSG_AUTH feature (very unlikely but has to be considered since we
haven't formally raised the bar from argonaut to bobtail yet), make
nocephx_sign_messages also waive MSG_AUTH requirement.  This is probably
how it should have been done in the first place -- if we aren't going
to sign, requiring the signing feature makes no sense.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
include/linux/ceph/libceph.h
net/ceph/ceph_common.c