aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2019-03-19 10:29:32 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2019-03-19 10:29:32 +0000
commitc5be49da01dc36e7e681026bd1a9b271929d2bd7 (patch)
tree4af65c9f0b4ce54d1e5e977371b88945c020898b /sbin/ipfw
parent07302582b69d9c084a146d2ddddf93eec8efa62e (diff)
downloadsrc-c5be49da01dc36e7e681026bd1a9b271929d2bd7.tar.gz
src-c5be49da01dc36e7e681026bd1a9b271929d2bd7.zip
Convert allocation of bpf_if in bpfattach2 from M_NOWAIT to M_WAITOK
and remove possible panic condition. It is already allowed to sleep in bpfattach[2], since BPF_LOCK was converted to SX lock in r332388. Also move KASSERT() to the top of function and make full initialization before bpf_if will be linked to BPF's list of interfaces. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=345292
Diffstat (limited to 'sbin/ipfw')
0 files changed, 0 insertions, 0 deletions