ceph/ceph — pull request #2275 by liewegas (2014-08-18 04:02:22+00:00)
Title: msg/Accepter: do not unlearn_addr on bind()

It is dangerous to set need_addr = false as it means someone may set the addr
to something else (specifically the port) in a racing thread.

However, it is not necessary: the only reason we added it way back in
5d5045d31a9e10d21b44eb1bd137db9ae53128ff was so that
local_connection->peer_addr would get updated, and bind() now calls that
unconditionally.

Fixes: #9079 Backport: firefly Signed-off-by: Sage Weil