Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170557562
D17993.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
910 B
Referenced Files
None
Subscribers
None
D17993.id.diff
View Options
Index: sys/netpfil/pf/if_pfsync.c
===================================================================
--- sys/netpfil/pf/if_pfsync.c
+++ sys/netpfil/pf/if_pfsync.c
@@ -363,7 +363,7 @@
}
if (sync || (time_uptime - st->pfsync_time) < 2)
- pfsync_push(sc);
+ sc->sc_flags |= PFSYNCF_PUSH;
}
static void
@@ -431,6 +431,10 @@
}
PFSYNC_UNLOCK(sc);
+
+ /* We can immediately send out the sync data now. */
+ pfsyncintr(sc);
+
CURVNET_RESTORE();
}
@@ -1963,7 +1967,7 @@
callout_init_mtx(&pd->pd_tmo, &sc->sc_mtx, CALLOUT_RETURNUNLOCKED);
callout_reset(&pd->pd_tmo, 10, pfsync_defer_tmo, pd);
- pfsync_push(sc);
+ sc->sc_flags |= PFSYNCF_PUSH;
}
static void
@@ -2242,7 +2246,7 @@
nlen += sizeof(struct pfsync_subheader);
if (sc->sc_len + nlen > sc->sc_ifp->if_mtu) {
- pfsync_sendout(1);
+ pfsync_sendout(0);
nlen = sizeof(struct pfsync_subheader) + pfsync_qs[q].len;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 6, 9:54 AM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38399753
Default Alt Text
D17993.id.diff (910 B)
Attached To
Mode
D17993: pfsync: Call pfsyncintr() directly from pfsync_msg_intr() rather than scheduling a swi
Attached
Detach File
Event Timeline
Log In to Comment