Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2020 03:30:33 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r356747 - head/sys/netinet
Message-ID:  <202001150330.00F3UXb1016324@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Wed Jan 15 03:30:33 2020
New Revision: 356747
URL: https://svnweb.freebsd.org/changeset/base/356747

Log:
  The non-preemptible network epoch identified by net_epoch isn't used.
  This code definitely meant net_epoch_preempt.

Modified:
  head/sys/netinet/tcp_ratelimit.c

Modified: head/sys/netinet/tcp_ratelimit.c
==============================================================================
--- head/sys/netinet/tcp_ratelimit.c	Wed Jan 15 02:31:03 2020	(r356746)
+++ head/sys/netinet/tcp_ratelimit.c	Wed Jan 15 03:30:33 2020	(r356747)
@@ -284,7 +284,7 @@ rs_defer_destroy(struct tcp_rate_set *rs)
 
 	/* Set flag to only defer once. */
 	rs->rs_flags |= RS_FUNERAL_SCHD;
-	epoch_call(net_epoch, &rs->rs_epoch_ctx, rs_destroy);
+	epoch_call(net_epoch_preempt, &rs->rs_epoch_ctx, rs_destroy);
 }
 
 #ifdef INET



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001150330.00F3UXb1016324>