summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2013-01-03 10:21:28 +0000
committerpeter <peter@FreeBSD.org>2013-01-03 10:21:28 +0000
commit3f8d5a8f513efcfb7addc023709a44add9ec2a60 (patch)
treead4703e8cb255c742bb657ab6574f355fa5fdc2e /sys/netinet6
parent2010ab2cd033db0745001efef9d9ebd78c920505 (diff)
downloadFreeBSD-src-3f8d5a8f513efcfb7addc023709a44add9ec2a60.zip
FreeBSD-src-3f8d5a8f513efcfb7addc023709a44add9ec2a60.tar.gz
Temporarily revert rev 244678. This is causing loopback problems with
the lo (loopback) interfaces.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 08dd259..e260e5d 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1874,18 +1874,9 @@ in6_ifinit(struct ifnet *ifp, struct in6_ifaddr *ia,
ia->ia_addr = *sin6;
if (ifacount <= 1 && ifp->if_ioctl) {
- int flags;
-
- /*
- * Historically, drivers managed IFF_UP flag theirselves, so we
- * need to check whether driver did that.
- */
- flags = ifp->if_flags;
error = (*ifp->if_ioctl)(ifp, SIOCSIFADDR, (caddr_t)ia);
if (error)
return (error);
- if ((ifp->if_flags & IFF_UP) && (flags & IFF_UP) == 0)
- if_up(ifp);
}
ia->ia_ifa.ifa_metric = ifp->if_metric;
OpenPOWER on IntegriCloud