summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-04-13 17:30:38 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-04-15 11:40:40 -0500
commitcebe0cf7938f49f48613cf9839859fbbd3a1bb68 (patch)
treea973abbfc0c6cf5b250d3e3df3bb2d014d9f7e76
parentf1bcf9b793182729ca8cb446512461d01bf8b286 (diff)
downloadFreeBSD-src-cebe0cf7938f49f48613cf9839859fbbd3a1bb68.zip
FreeBSD-src-cebe0cf7938f49f48613cf9839859fbbd3a1bb68.tar.gz
Importing pfSense patch hfscconfig.diff
-rw-r--r--sbin/pfctl/pfctl_altq.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index 6b0443a..4c479bc 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -735,13 +735,6 @@ eval_pfqueue_hfsc(struct pfctl *pf, struct pf_altq *pa)
return (-1);
}
- if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
- (opts->lssc_m1 < opts->lssc_m2 && opts->lssc_m1 != 0) ||
- (opts->ulsc_m1 < opts->ulsc_m2 && opts->ulsc_m1 != 0)) {
- warnx("m1 must be zero for convex curve: %s", pa->qname);
- return (-1);
- }
-
/*
* admission control:
* for the real-time service curve, the sum of the service curves
OpenPOWER on IntegriCloud