summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-06-01 14:12:35 +0000
committerhrs <hrs@FreeBSD.org>2011-06-01 14:12:35 +0000
commitd729d55b0d1c91bed335593c6d8e8ea4bde37ef8 (patch)
tree99c7e6d9b70d1521ba9ce0d35d9860868f96e832 /contrib/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
parent98965aa0a01be98cc1924fa222a12f63fd243038 (diff)
downloadFreeBSD-src-d729d55b0d1c91bed335593c6d8e8ea4bde37ef8.zip
FreeBSD-src-d729d55b0d1c91bed335593c6d8e8ea4bde37ef8.tar.gz
- Make the code more proactively clear an ND6_IFF_IFDISABLED flag when
an explicit action for INET6 configuration happens. The changes are: 1. When an ND6 flag is changed via SIOCSIFINFO_FLAGS ioctl, setting ND6_IFF_ACCEPT_RTADV and/or ND6_IFF_AUTO_LINKLOCAL now triggers an attempt to clear the ND6_IFF_IFDISABLED flag. 2. When an AF_INET6 address is added successfully to an interface and it is marked as ND6_IFF_IFDISABLED, an attempt to clear the ND6_IFF_IFDISABLED happens. This simplifies ND6_IFF_IFDISABLED flag manipulation by users via ifconfig(8); in most cases the manual configuration is no longer needed. - When ND6_IFF_AUTO_LINKLOCAL is set and no link-local address is assigned to an interface, SIOCSIFINFO_FLAGS ioctl now calls in6_ifattach() to configure a link-local address. This change ensures link-local address configuration when "ifconfig IF inet6" command is invoked. For example, "ifconfig IF inet6 auto_linklocal" now always try to configure an LL addr even if ND6_IFF_AUTO_LINKLOCAL is already set to 1 (i.e. down/up cycle is no longer needed).
Diffstat (limited to 'contrib/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud