A VIMAGE kernel panics when certain pf IOCTLs are used. The panic is triggered by pftop for example. Unread portion of the kernel message buffer: panic: userret: Returning on td 0xc3a0e2e0 (pid 1311, pftop) with vnet 0xc35a9000 set in pfioctl cpuid = 0 KDB: enter: panic Physical memory: 491 MB Dumping 55 MB: 40 24 8 Fix: For certain IOCTLs, CURVNET_RESTORE() is not called upon return from pfioctl():/sys/contrib/pf/net/pf_ioctl.c Patch attached with submission follows: How-To-Repeat: build a VIMAGE kernel build pftop port kldload pf run pftop and cycle through the views the kernel will panic
Responsible Changed From-To: freebsd-bugs->freebsd-pf Over to maintainer(s).
Responsible Changed From-To: freebsd-pf->freebsd-virtualization Re-assign to right mailing list
*** This bug has been marked as a duplicate of bug 194515 ***