]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/ProtocolV2: fix handling for v2 client connection with v1 addr
authorSage Weil <sage@redhat.com>
Sat, 26 Jan 2019 07:28:13 +0000 (01:28 -0600)
committerSage Weil <sage@redhat.com>
Sat, 26 Jan 2019 17:44:55 +0000 (11:44 -0600)
commitd9f3022a513a212e9bb4d55902280f74f2804baf
tree019f6fbcc15a74a5c33e56e773d2acd0cd949858
parent4c2e28f5b73bf38680a5d22e468d1130a85141fa
msg/async/ProtocolV2: fix handling for v2 client connection with v1 addr

Switch it to be v2.  Reject the case where the client sends and addrvec, though;
that should only happen for clients that did_bind, and they should only connect to
v2 if they have a v2 bound addr.

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/ProtocolV2.cc