NetBSD/sys/net/npf
mrg d85c0d7f6a work around a GCC 7 vs sparc (32 bit) issue i haven't figured out
the real cause of yet.

mark npf_init() as non-static.  for a yet-unknown reason, when this
function is inlined by the compiler (or a human!) into the single
caller, some CPUs end up in a hung state that can't be interrupted
eventually leading to system hang.  eg:

[   8.9693040] root on hme0
[   8.9862690] nfs_boot: trying DHCP/BOOTP
xcall(cpu2,0xf0240ac8) from 0xf0241170: couldn't ping cpus: cpu1

is the symptom though sometimes nfs_boot is actually able to
complete mountroot before it hangs.


this may be a compiler bug but the symptom and the trigger are
far removed and my so-far reading of the "broken" npf_init
inlining has shown no issues, however, i haven't completed a
full scan of this asm in the past month so i'm commiting this
workaround for now.
2019-02-27 21:37:24 +00:00
..
files.npf NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
if_npflog.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
if_npflog.h NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
lpm.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
lpm.h NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
Makefile
npf_alg_icmp.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_alg.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_bpf.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_conf.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_conn.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_conn.h Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_conndb.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_ctl.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_ext_log.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_ext_normalize.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_ext_rndblock.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_handler.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_if.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_ifaddr.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_impl.h Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_inet.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_mbuf.c Remove the 't' argument from m_tag_find(). 2018-11-15 10:23:55 +00:00
npf_nat.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_os.c work around a GCC 7 vs sparc (32 bit) issue i haven't figured out 2019-02-27 21:37:24 +00:00
npf_rproc.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_ruleset.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_sendpkt.c npf_return_tcp: fix no-INET6 case. 2018-09-29 18:00:35 +00:00
npf_state_tcp.c NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
npf_state.c We need to have rump tests work in two modes: 2018-10-29 15:37:06 +00:00
npf_tableset.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf_worker.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf.c Major NPF improvements: 2019-01-19 21:19:31 +00:00
npf.h Major NPF improvements: 2019-01-19 21:19:31 +00:00
npfkern.h NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00
README NPF: Major rework -- migrate NPF to the libnv library. 2018-09-29 14:41:35 +00:00

The NPF project upstream repository: https://github.com/rmind/npf/
Please submit the pull requests to the upstream when possible.