diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2018-06-09 09:57:14 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2018-06-09 09:57:14 +0000 |
commit | 44bcc068168815cfc0bb9f1c8b692bef67c0e471 (patch) | |
tree | 9bdc448444634e819ac1862e3e9c1511c3642c51 /sys/Makefile | |
parent | 32b68c46fa0d700f02e3ac69f9a89f27d48d7395 (diff) | |
download | src-44bcc068168815cfc0bb9f1c8b692bef67c0e471.tar.gz src-44bcc068168815cfc0bb9f1c8b692bef67c0e471.zip |
Explicitly change the link state when we assingn an address.
Since we are setting IFF_UP flag on SIOCSIFADDR, it is possible, that
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).
Reported by: Marek Zarychta
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=334875
Diffstat (limited to 'sys/Makefile')
0 files changed, 0 insertions, 0 deletions