FreeBSD Bugzilla – Attachment 178681 Details for
Bug 215716
[altq] pfctl: DIOCADDALTQ: Cannot allocate memory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove bogus checks
altq_codel.patch (text/plain), 878 bytes, created by
Kristof Provost
on 2017-01-09 21:32:35 UTC
(
hide
)
Description:
Remove bogus checks
Filename:
MIME Type:
Creator:
Kristof Provost
Created:
2017-01-09 21:32:35 UTC
Size:
878 bytes
patch
obsolete
>diff --git a/sys/net/altq/altq_rmclass.c b/sys/net/altq/altq_rmclass.c >index 655b5da724c..ded53317c69 100644 >--- a/sys/net/altq/altq_rmclass.c >+++ b/sys/net/altq/altq_rmclass.c >@@ -198,30 +198,6 @@ rmc_newclass(int pri, struct rm_ifdat *ifd, u_int nsecPerByte, > > if (pri >= RM_MAXPRIO) > return (NULL); >-#ifndef ALTQ_RED >- if (flags & RMCF_RED) { >-#ifdef ALTQ_DEBUG >- printf("rmc_newclass: RED not configured for CBQ!\n"); >-#endif >- return (NULL); >- } >-#endif >-#ifndef ALTQ_RIO >- if (flags & RMCF_RIO) { >-#ifdef ALTQ_DEBUG >- printf("rmc_newclass: RIO not configured for CBQ!\n"); >-#endif >- return (NULL); >- } >-#endif >-#ifndef ALTQ_CODEL >- if (flags & RMCF_CODEL) { >-#ifdef ALTQ_DEBUG >- printf("rmc_newclass: CODEL not configured for CBQ!\n"); >-#endif >- return (NULL); >- } >-#endif > > cl = malloc(sizeof(struct rm_class), M_DEVBUF, M_NOWAIT | M_ZERO); > if (cl == NULL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215716
: 178681