mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 11:20:58 +01:00
workaround; be sure to initialize nd6 interface information when IPv6
interface address gets added. this will avoid presenting EMSGSIZE when outgoing interface is down (and never brought up). sync with kame.
This commit is contained in:
parent
a3698b8a7f
commit
1723dbbbf6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71207
@ -829,6 +829,14 @@ in6_control(so, cmd, data, ifp, p)
|
||||
} else
|
||||
ia->ia6_lifetime.ia6t_preferred = 0;
|
||||
|
||||
/*
|
||||
* make sure to initialize ND6 information. this is to
|
||||
* workaround issues with interfaces with IPv6 addresses,
|
||||
* which have never brought # up. we are assuming that it is
|
||||
* safe to nd6_ifattach multiple times.
|
||||
*/
|
||||
nd6_ifattach(ifp);
|
||||
|
||||
/*
|
||||
* Perform DAD, if needed.
|
||||
* XXX It may be of use, if we can administratively
|
||||
|
Loading…
Reference in New Issue
Block a user