svn commit: r197148 - head/sys/netinet
Bruce M Simpson
bms at FreeBSD.org
Sun Sep 13 01:00:25 UTC 2009
Author: bms
Date: Sun Sep 13 01:00:24 2009
New Revision: 197148
URL: http://svn.freebsd.org/changeset/base/197148
Log:
In expire_mfc(), add an assert on the multicast forwarding cache mutex.
PR: 138666
Modified:
head/sys/netinet/ip_mroute.c
Modified: head/sys/netinet/ip_mroute.c
==============================================================================
--- head/sys/netinet/ip_mroute.c Sat Sep 12 23:01:36 2009 (r197147)
+++ head/sys/netinet/ip_mroute.c Sun Sep 13 01:00:24 2009 (r197148)
@@ -1025,6 +1025,8 @@ expire_mfc(struct mfc *rt)
{
struct rtdetq *rte, *nrte;
+ MFC_LOCK_ASSERT();
+
free_bw_list(rt->mfc_bw_meter);
TAILQ_FOREACH_SAFE(rte, &rt->mfc_stall, rte_link, nrte) {
More information about the svn-src-head
mailing list