svn commit: r342923 - head/sys/net
Gleb Smirnoff
glebius at FreeBSD.org
Fri Jan 11 00:45:23 UTC 2019
Author: glebius
Date: Fri Jan 11 00:45:22 2019
New Revision: 342923
URL: https://svnweb.freebsd.org/changeset/base/342923
Log:
Remove recursive NET_EPOCH_ENTER() from sysctl_ifmalist(), missed in r342872.
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtsock.c
==============================================================================
--- head/sys/net/rtsock.c Thu Jan 10 23:27:29 2019 (r342922)
+++ head/sys/net/rtsock.c Fri Jan 11 00:45:22 2019 (r342923)
@@ -1830,7 +1830,6 @@ sysctl_ifmalist(int af, struct walkarg *w)
continue;
ifa = ifp->if_addr;
info.rti_info[RTAX_IFP] = ifa ? ifa->ifa_addr : NULL;
- NET_EPOCH_ENTER(et);
CK_STAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
if (af && af != ifma->ifma_addr->sa_family)
continue;
@@ -1857,7 +1856,6 @@ sysctl_ifmalist(int af, struct walkarg *w)
break;
}
}
- NET_EPOCH_EXIT(et);
if (error != 0)
break;
}
More information about the svn-src-all
mailing list