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
Sun, Dec 15, 3:34 AM (9 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091366
Default Alt Text
D18918.diff (602 B)

Event Timeline