1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys
Gleb Smirnoff 29bdd62c85 When connection rate hits and we overload a source to a table,
we are actually editing table, which means editing rules,
thus we need writer access to 'em.

Fix this by offloading the update of table to the same taskqueue,
we already use for flushing. Since taskqueues major task is now
overloading, and flushing is optional, do mechanical rename
s/flush/overload/ in the code related to the taskqueue.

Since overloading tasks do unsafe referencing of rules, provide
a bandaid in pf_purge_unlinked_rules(). If the latter sees any
queued tasks, then it skips purging for this run.

In table code:
- Assert any lock in pfr_lookup_addr().
- Assert writer lock in pfr_route_kentry().
2012-09-22 10:14:47 +00:00
..
amd64 After r205013, amd64 and i386 CPU family and model IDs were printed out 2012-09-21 10:31:19 +00:00
arm Since UMA_ZONE_NOFREE is specified when l2zone and l2table_zone are created, 2012-09-22 06:54:03 +00:00
boot Implement elfN(reloc) for powerpc. With this change the kernel is now able to 2012-09-21 18:21:31 +00:00
bsm
cam Fix a panic when trying to play invalid audio tracks. 2012-09-19 18:42:31 +00:00
cddl zfs: correctly calculate dn_bonuslen for saving SAs to disk 2012-09-18 08:02:54 +00:00
compat Remove redundant check 2012-09-12 10:12:03 +00:00
conf Improve the check for p4 opened files. 2012-09-22 07:44:36 +00:00
contrib Remove #ident macro. 2012-09-21 19:18:39 +00:00
crypto
ddb
dev Apply some more casting. 2012-09-22 08:02:42 +00:00
fs Modify the NFSv4 client so that it can handle owner 2012-09-20 02:49:25 +00:00
gdb
geom g_disk_flushcache definitely should not be traced under G_T_TOPOLOGY 2012-09-18 07:57:34 +00:00
gnu/fs Add VFCF_READONLY flag that indicates ntfs and xfs file systems are 2012-09-12 03:42:52 +00:00
i386 After r205013, amd64 and i386 CPU family and model IDs were printed out 2012-09-21 10:31:19 +00:00
ia64 userret() already checks for td_locks when INVARIANTS is enabled, so 2012-09-08 18:27:11 +00:00
isa
kern Correct double "the the" 2012-09-14 21:28:56 +00:00
kgssapi
libkern s/ is is / is /g 2012-09-14 22:00:03 +00:00
mips Prefer __containerof() above member2struct(). 2012-09-15 19:28:54 +00:00
modules Add nvme(4) and nvd(4) Makefiles to the tree. 2012-09-17 19:58:02 +00:00
net Convert lagg(4) to use if_transmit instead of if_start. 2012-09-20 10:05:10 +00:00
net80211 Fix a crash bug introduced in the iterate node work recently done. 2012-09-16 22:45:00 +00:00
netatalk
netgraph o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00
netinet Fix typo: s/pakcet/packet 2012-09-20 03:29:43 +00:00
netinet6 Merge the projects/pf/head branch, that was worked on for last six months, 2012-09-08 06:41:54 +00:00
netipsec Add missing break 2012-09-18 08:00:43 +00:00
netipx
netnatm
netncp
netpfil When connection rate hits and we overload a source to a table, 2012-09-22 10:14:47 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Align the PCI Express #defines with the style used for the PCI-X 2012-09-18 22:04:59 +00:00
opencrypto
pc98
pci
powerpc Remove leftover from r215163. 2012-09-21 21:27:57 +00:00
rpc
security
sparc64 Correct double "the the" 2012-09-14 21:28:56 +00:00
sys Remove namespace pollution in _rmlock.h by defining rm_queue structure 2012-09-18 00:43:15 +00:00
teken
tools
ufs
vm Plug the accounting leak for the wired pages when msync(MS_INVALIDATE) 2012-09-20 09:52:57 +00:00
x86
xdr
xen
Makefile