freebsd-dev/sys/contrib
Craig Rodrigues f687a7c2dd 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
2014-11-20 08:11:54 +00:00
..
altq/altq Remove ifq_drops from struct ifqueue. Now queue drops are accounted in 2014-09-19 09:01:19 +00:00
dev Repair build of tools/ath/athalq and define missing value len. 2014-10-13 16:48:01 +00:00
ipfilter/netinet Set the current vnet inside the ioctl handler for ipfilter. 2014-11-20 08:11:54 +00:00
libfdt
ngatm Fix the following -Werror warning from clang 3.5.0, while building 2014-11-19 07:47:37 +00:00
octeon-sdk Turns out that there really isn't an RTC chip on this board, at all. 2013-05-12 01:29:18 +00:00
rdma/krping krping: In verbose mode print only first 128 bytes of krping data. 2014-10-27 22:41:55 +00:00
v4l Fix build for gcc users by declaring variables for unions in structs which 2013-07-10 10:40:52 +00:00
x86emu Fix decoding of near CALL when address-size prefix (67h) is present. 2014-06-11 20:38:14 +00:00
xz-embedded MFV r262756: 2014-03-05 01:33:15 +00:00