summaryrefslogtreecommitdiffstats
path: root/lib/libc/softfloat/timesoftfloat.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2014-11-20 08:11:54 +0000
committerrodrigc <rodrigc@FreeBSD.org>2014-11-20 08:11:54 +0000
commit3cdc37eb525944302c3b26494c661a5090ad772d (patch)
treeda0e6b62fccc6090a8c6377cd8848dfec00b8596 /lib/libc/softfloat/timesoftfloat.c
parentb86c0e362dd9c55247fd97743c4482ebd96e42eb (diff)
downloadFreeBSD-src-3cdc37eb525944302c3b26494c661a5090ad772d.zip
FreeBSD-src-3cdc37eb525944302c3b26494c661a5090ad772d.tar.gz
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 Reviewed by: cy
Diffstat (limited to 'lib/libc/softfloat/timesoftfloat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud