libceph: fix sa_family just after reading address
authorJeff Layton <jlayton@kernel.org>
Tue, 4 Jun 2019 17:13:48 +0000 (13:13 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Jul 2019 12:01:43 +0000 (14:01 +0200)
commitbc07532cc51f4c33cb6136405c9807c5961e468b
treebaa617bb6b95d929e0eb1e344fb32a4f98649d76
parent428138c9892fac19a682973bbb6d8c2a904b6639
libceph: fix sa_family just after reading address

It doesn't make sense to leave it undecoded until later.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c