linux/net/ceph
Ilya Dryomov c44bd69c0c libceph: treat sockaddr_storage with uninitialized family as blank
addr_is_blank() should return true if family is neither AF_INET nor
AF_INET6.  This is what its counterpart entity_addr_t::is_blank_ip() is
doing and it is the right thing to do: in process_banner() we check if
our address is blank and if it is "learn" it from our peer.  As it is,
we never learn our address and always send out a blank one.  This goes
way back to ceph.git commit dd732cbfc1c9 ("use sockaddr_storage; and
some ipv6 support groundwork") from 2009.

While at at, do not open-code ipv6_addr_any() and use INADDR_ANY
constant instead of 0.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-07-09 20:30:34 +03:00
..
crush crush: sync up with userspace 2015-06-25 11:49:31 +03:00
armor.c
auth.c
auth_none.c
auth_none.h
auth_x.c
auth_x.h
auth_x_protocol.h
buffer.c
ceph_common.c libceph: enable ceph in a non-default network namespace 2015-07-09 20:30:34 +03:00
ceph_fs.c
ceph_hash.c
ceph_strings.c
crypto.c
crypto.h
debugfs.c libceph: expose client options through debugfs 2015-04-20 18:55:39 +03:00
Kconfig
Makefile
messenger.c libceph: treat sockaddr_storage with uninitialized family as blank 2015-07-09 20:30:34 +03:00
mon_client.c libceph: a couple tweaks for wait loops 2015-06-25 11:49:29 +03:00
msgpool.c
osd_client.c libceph: store timeouts in jiffies, verify user input 2015-06-25 11:49:29 +03:00
osdmap.c crush: fix a bug in tree bucket decode 2015-07-01 00:46:35 +03:00
pagelist.c libceph: reference counting pagelist 2014-10-14 12:56:48 -07:00
pagevec.c libceph: use kvfree() instead of open-coding it 2015-06-25 11:49:28 +03:00
snapshot.c