Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 10:17:06 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        rgrimes@freebsd.org
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r334875 - head/sys/net
Message-ID:  <f3118703-874d-a493-bfdd-c65e76fd97a5@yandex.ru>
In-Reply-To: <201806091226.w59CQDSb018933@pdx.rh.CN85.dnsmgr.net>
References:  <201806091226.w59CQDSb018933@pdx.rh.CN85.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--g6BMwXcbPiB6Lmsw2vprqidkiofrwEEIl
Content-Type: multipart/mixed; boundary="npdWcDhDIqPwT0xGtS5HRSU47XXLeAEJN";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: rgrimes@freebsd.org
Cc: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Message-ID: <f3118703-874d-a493-bfdd-c65e76fd97a5@yandex.ru>
Subject: Re: svn commit: r334875 - head/sys/net
References: <201806091226.w59CQDSb018933@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <201806091226.w59CQDSb018933@pdx.rh.CN85.dnsmgr.net>

--npdWcDhDIqPwT0xGtS5HRSU47XXLeAEJN
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 09.06.2018 15:26, Rodney W. Grimes wrote:
>> Author: ae
>> Date: Sat Jun  9 09:57:14 2018
>> New Revision: 334875
>> URL: https://svnweb.freebsd.org/changeset/base/334875
>>
>> Log:
>>   Explicitly change the link state when we assingn an address.
>>  =20
>>   Since we are setting IFF_UP flag on SIOCSIFADDR, it is possible, tha=
t
>>   after this link state information still not initialized properly.
>>   This leads to problems with routing, since now interface has
>>   IFCAP_LINKSTATE capability and a route is considered as working only=

>>   when interface's link state is in LINK_STATE_UP (see RT_LINK_IS_UP()=

>>   macro).
>=20
> I was going to say something when the ability to up and down
> the loopback interfaces was added as it perturbed me but I
> could not put my finger on places it may cause problems so
> remained silent on the matter.
>=20
> Now that I see this issue, having lo0 go DOWN can kill a network
> that is using exported from lo0 into a routing protocol routes that=20
> are used for management purposes.

This was one of the main reasons of this change.

> How does Cisco, Juniper, etc at handle this?
> Do any of them or all of them allow you to "down" loopback?

AFAIK, they allow this.

--=20
WBR, Andrey V. Elsukov


--npdWcDhDIqPwT0xGtS5HRSU47XXLeAEJN--

--g6BMwXcbPiB6Lmsw2vprqidkiofrwEEIl
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlsgxPIACgkQAcXqBBDI
oXq7Kgf+JsmByV3u2e2rZR7QwiNxXmXfYOXzrQZ7dgAvguHur7fWHpBb5JIL9XE8
w83DDBXqyq2pc6QjoKZ6D4qc44dss070yUCSY+lEGxIY4JvKylmXSy3rZyU92wD9
RtmTDzdvyoiEfBSLsOAvDvZmcURODeaf42jHNvnMDVcFSPZU8dPLClYQYbiFcI8M
58o/e3a3etyruZ3Eh/U6Dju4hRi61SScP2uhRF5M1xMmXOcHVtj9IZKPMs/o0rlA
OLjcyZ30Aktj6aJ91ktSA0alIqcozfNnRRdUgfkh45pxf29BgeeGeuOmR8q9PFB1
sDnWGyxLuiqJQqktwN7IA7v9i8tcXA==
=XSJY
-----END PGP SIGNATURE-----

--g6BMwXcbPiB6Lmsw2vprqidkiofrwEEIl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f3118703-874d-a493-bfdd-c65e76fd97a5>