svn commit: r356747 - head/sys/netinet

Gleb Smirnoff glebius at FreeBSD.org
Wed Jan 15 03:30:33 UTC 2020


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


More information about the svn-src-head mailing list