summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/tdelete.c
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2014-11-28 20:39:35 +0000
committercy <cy@FreeBSD.org>2014-11-28 20:39:35 +0000
commitdc900c05289d2384610bcf974f7c6d4e58a03b44 (patch)
tree5467f15eee25fbf00470384b1c96533614fabb0b /lib/libc/stdlib/tdelete.c
parent4c0230ed4dfaa9db76e4fd237df6207f43395e75 (diff)
downloadFreeBSD-src-dc900c05289d2384610bcf974f7c6d4e58a03b44.zip
FreeBSD-src-dc900c05289d2384610bcf974f7c6d4e58a03b44.tar.gz
MFC r274744.
Set the current vnet inside the ioctl handler for ipfilter. Without this fix, the vnet was NULL and would crash. This fix is similar to what was done inside the ioctl handler for PF. Tested by: (1) Boot a kernel with "options VIMAGE" enabled (2) Type: echo "map lo0 from 10.0.0.0/24 to ! 10.0.0.0/24 -> 127.0.0.1/32" > /etc/ipnat.rules ; service ipnat onerestart PR: 176992 Differential Revision: https://reviews.freebsd.org/D1191
Diffstat (limited to 'lib/libc/stdlib/tdelete.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud