Page MenuHomeFreeBSD

D18918.diff
No OneTemporary

D18918.diff

Index: head/sys/netpfil/pf/pf_ioctl.c
===================================================================
--- head/sys/netpfil/pf/pf_ioctl.c
+++ head/sys/netpfil/pf/pf_ioctl.c
@@ -683,6 +683,14 @@
u_int32_t ticket;
int error = 0;
+ /*
+ * No need to re-evaluate the configuration for events on interfaces
+ * that do not support ALTQ, as it's not possible for such
+ * interfaces to be part of the configuration.
+ */
+ if (!ALTQ_IS_READY(&ifp->if_snd))
+ return;
+
/* Interrupt userland queue modifications */
if (V_altqs_inactive_open)
pf_rollback_altq(V_ticket_altqs_inactive);

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 10:47 PM (7 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15618323
Default Alt Text
D18918.diff (602 B)

Event Timeline