Allow binding on lo
authorThomas Goirand <zigo@debian.org>
Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)
committerThomas Goirand <zigo@debian.org>
Thu, 28 Jan 2021 15:45:23 +0000 (15:45 +0000)
commit9b6385d16e7cc6b2f98d63a1f214873993c72677
tree3fdaf170eaeae7738b7a97f6a8cdbd18c0808f5f
parenta0bd30913d457a409c36f160e12da0c8455b9145
Allow binding on lo

Forwarded: https://github.com/ceph/ceph/pull/38925
Last-Update: 2021-01-15

Commmit 5cf0fa8, solves the issue that
the osd can't restart after seting a virtual local loopback IP. However,
this commit also prevents a bgp-to-the-host over unumbered Ipv6
local-link is setup, where OSD typically are bound to the lo interface.

To solve this, this single char patch simply checks against "lo:" to
match only virtual interfaces instead of anything that starts with "lo".

Gbp-Pq: Name allow-binding-on-lo.patch
src/common/ipaddr.cc