Allow binding on lo
authorThomas Goirand <zigo@debian.org>
Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)
committerThomas Goirand <zigo@debian.org>
Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)
commitb96b837f829e96a87e05149a50f32fdcabc2f7ac
treec9027dc6fce0f92e46552e0a5f49651a8bf62300
parentbf1ba18816cdbb0eb1adc360e13b49d268e275f7
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