Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144545225
D6845.1775347627.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
688 B
Referenced Files
None
Subscribers
None
D6845.1775347627.diff
View Options
Index: sys/net/if_lagg.c
===================================================================
--- sys/net/if_lagg.c
+++ sys/net/if_lagg.c
@@ -1047,14 +1047,12 @@
struct lagg_softc *sc;
struct lagg_port *lp;
struct ifnet *lpifp;
- struct rm_priotracker tracker;
uint64_t newval, oldval, vsum;
/* Revise this when we've got non-generic counters. */
KASSERT(cnt < IFCOUNTERS, ("%s: invalid cnt %d", __func__, cnt));
sc = (struct lagg_softc *)ifp->if_softc;
- LAGG_RLOCK(sc, &tracker);
vsum = 0;
SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) {
@@ -1078,8 +1076,6 @@
*/
vsum += sc->detached_counters.val[cnt];
- LAGG_RUNLOCK(sc, &tracker);
-
return (vsum);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 12:07 AM (15 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28262194
Default Alt Text
D6845.1775347627.diff (688 B)
Attached To
Mode
D6845: Remove LAGG_RLOCK() from lagg_get_counter.
Attached
Detach File
Event Timeline
Log In to Comment