freebsd-dev/sys
Oleg Bulyzhin 3995ad1768 Fix ipfw table creation when net.inet.ip.fw.tables_sets = 0 and non zero set
specified on table creation. This fixes following:

# sysctl net.inet.ip.fw.tables_sets
net.inet.ip.fw.tables_sets: 0
# ipfw table all info
# ipfw set 1 table 1 create type addr
# ipfw set 1 table 1 create type addr
# ipfw add 10 set 1 count ip from table\(1\) to any
00010 count ip from table(1) to any
# ipfw add 10 set 1 count ip from table\(1\) to any
00010 count ip from table(1) to any
# ipfw table all info
--- table(1), set(1) ---
 kindex: 4, type: addr
 references: 1, valtype: legacy
 algorithm: addr:radix
 items: 0, size: 296
--- table(1), set(1) ---
 kindex: 3, type: addr
 references: 1, valtype: legacy
 algorithm: addr:radix
 items: 0, size: 296
--- table(1), set(1) ---
 kindex: 2, type: addr
 references: 0, valtype: legacy
 algorithm: addr:radix
 items: 0, size: 296
--- table(1), set(1) ---
 kindex: 1, type: addr
 references: 0, valtype: legacy
 algorithm: addr:radix
 items: 0, size: 296
#

MFC after:	1 week
2018-04-11 11:12:20 +00:00
..
amd64 linuxulator: add else case braces to reduce diffs between archs 2018-04-09 19:11:24 +00:00
arm [pi] Do not attach bcm2835_pwm if DTB node is not enabled 2018-04-10 20:31:25 +00:00
arm64 Enable Qualcomm Debug Subsystem (QDSS) block on MSM8916 SoC. 2018-04-10 12:53:48 +00:00
bsm
cam Do not fail devices just for errors in descriptor format. 2018-04-06 19:47:44 +00:00
cddl Correct a comment. 2018-04-10 14:07:02 +00:00
compat linuxulator: deduplicate linux_exec_imgact_try 2018-04-09 17:24:01 +00:00
conf Enable Qualcomm Debug Subsystem (QDSS) block on MSM8916 SoC. 2018-04-10 12:53:48 +00:00
contrib Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8 2018-04-02 23:40:50 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb
dev hyperv/storvsc: storvsc_io_done(): do not use CAM_SEL_TIMEOUT 2018-04-10 18:05:02 +00:00
dts Remove deprecated DT sources of Armada 38x SoCs 2018-04-10 13:25:42 +00:00
fs Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
gdb
geom Annotate geom modules with MODULE_VERSION 2018-04-10 19:18:16 +00:00
gnu
i386 linuxulator: deduplicate linux_exec_imgact_try 2018-04-09 17:24:01 +00:00
isa
kern locks: extend speculative spin waiting for readers to drain 2018-04-11 01:43:29 +00:00
kgssapi
libkern
mips Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
modules Update VMCI license based on comments from core, the FreeBSD Foundation, 2018-04-08 01:32:56 +00:00
net Split out flag manipulation from general context manipulation in iflib 2018-04-10 19:48:24 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph
netinet Add missing header change from r332381. 2018-04-10 17:00:37 +00:00
netinet6 Fix a logical inversion bug. 2018-04-08 12:08:20 +00:00
netipsec
netpfil Fix ipfw table creation when net.inet.ip.fw.tables_sets = 0 and non zero set 2018-04-11 11:12:20 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
powerpc Reenter KDB on fault on powerpc, instead of panicking 2018-04-10 21:14:54 +00:00
riscv
rpc
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
sys Add the ioctl definitions for spigen get/set spi mode. Should have been 2018-04-07 20:53:34 +00:00
teken Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
tests
tools
ufs Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00
vm Handle Skylake-X errata SKZ63. 2018-04-07 17:06:13 +00:00
x86 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
xdr
xen
Makefile