freebsd-dev/sys
Gleb Smirnoff 53f4b0cf9b The current API for adding rules with pool addresses is the following:
- DIOCADDADDR adds addresses and puts them into V_pf_pabuf
- DIOCADDRULE takes all addresses from V_pf_pabuf and links
  them into rule.

The ugly part is that if address is a table, then it is initialized
in DIOCADDRULE, because we need ruleset, and DIOCADDADDR doesn't
supply ruleset. But if address is a dynaddr, we need address family,
and address family could be different for different addresses in one
rule, so dynaddr is initialized in DIOCADDADDR.

This leads to the entangled state of addresses on V_pf_pabuf. Some are
initialized, and some not. That's why running pf_empty_pool(&V_pf_pabuf)
can lead to a panic on a NULL table address.

Since proper fix requires API/ABI change, for now simply plug the panic
in pf_empty_pool().

Reported by:	danger
2014-04-25 11:36:11 +00:00
..
amd64 xen: fix copyright header 2014-04-24 14:44:42 +00:00
arm Remove uncessary cache and TLB maintenance ops. 2014-04-20 18:21:05 +00:00
boot Add the initial version of if_nf10bmac(4), a driver to support an 2014-04-17 12:33:26 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Remove limits on size of READ/WRITE operations. 2014-04-24 16:19:49 +00:00
cddl Eliminate duplicate checks in vdev_geom_io_intr error handling 2014-04-24 15:36:00 +00:00
compat In freebsd32_sendmsg(), replace the call to sockargs() followed by a 2014-04-05 18:56:01 +00:00
conf Add preliminary support for the Realtek RTL8188EUS and RTL8188ETV chipsets. 2014-04-25 08:01:22 +00:00
contrib Add preliminary support for the Realtek RTL8188EUS and RTL8188ETV chipsets. 2014-04-25 08:01:22 +00:00
crypto NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
ddb ddb: Minor style cleanups. 2014-03-31 16:37:41 +00:00
dev Add preliminary support for the Realtek RTL8188EUS and RTL8188ETV chipsets. 2014-04-25 08:01:22 +00:00
fs The PR reported that the old NFS server did not set uio_td == NULL 2014-04-24 20:47:58 +00:00
gdb
geom Keep geom_uncompress(4) in line with geom_uzip(4), bring in the r264504 fix. 2014-04-22 18:08:34 +00:00
gnu Symbolic bindings for the dts files... 2014-02-28 16:51:33 +00:00
i386 Don't build EISA by default anymore. Remove from i386 GENERIC and 2014-04-18 16:53:06 +00:00
ia64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Fix grammar error and trailing newline. 2014-04-23 02:21:17 +00:00
kgssapi
libkern
mips Fix beri_simplebus probing. It's not allowed to have two modules on the 2014-04-24 23:28:09 +00:00
modules Add preliminary support for the Realtek RTL8188EUS and RTL8188ETV chipsets. 2014-04-25 08:01:22 +00:00
net Fix subnet and default routes on different FIBs on the same subnet. 2014-04-24 23:56:56 +00:00
net80211 Add a SLEEP->SCAN transition. Without this a disassociate or scan 2014-04-25 01:20:10 +00:00
netgraph Remove AppleTalk support. 2014-03-14 06:29:43 +00:00
netinet Fix subnet and default routes on different FIBs on the same subnet. 2014-04-24 23:56:56 +00:00
netinet6 Fix subnet and default routes on different FIBs on the same subnet. 2014-04-24 23:56:56 +00:00
netipsec Remove _IP_VHL* macros and related ifdefs. 2014-04-16 05:31:54 +00:00
netnatm
netpfil The current API for adding rules with pool addresses is the following: 2014-04-25 11:36:11 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
nfsclient
nfsserver The PR reported that the old NFS server did not set uio_td == NULL 2014-04-24 20:47:58 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 MFi386: r257858 (by kib) 2014-04-20 05:40:13 +00:00
pci Increase the number of TX DMA segments from 32 to 35. It turned 2014-03-31 01:54:59 +00:00
powerpc Small performance optimization. Clobber only cr0, rather than the entire CR. 2014-04-11 06:17:44 +00:00
rpc Fix lock acquisition in case no request space available, missed in r260097. 2014-02-04 00:00:01 +00:00
security audit: plug FILEDESC_LOCK leak in audit_canon_path. 2014-03-21 01:30:33 +00:00
sparc64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
sys Add some new ATA defines for SATA 3.1 spec 2014-04-24 01:28:14 +00:00
teken Fix typo. 2014-02-06 13:28:06 +00:00
tools Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
ufs Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
vm Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
x86 Make this compile with gcc. 2014-04-05 22:43:18 +00:00
xdr
xen Make this compile with gcc. 2014-04-05 22:43:18 +00:00
Makefile Remove AppleTalk support. 2014-03-14 06:29:43 +00:00