Adrian Chadd 8bf4020830 Call if_free() with the correct vnet context if and only if ifp_vnet
isn't NULL.

If the attach fails prematurely and there's no if_vnet context, calling
CURVNET_SET(ifp->if_vnet) is going to dereference a NULL pointer.
2012-11-28 07:12:08 +00:00
..
2012-11-26 12:24:39 +00:00
2012-10-10 08:36:38 +00:00
2012-11-01 04:07:08 +00:00
2012-11-28 00:36:40 +00:00
2012-11-20 21:01:59 +00:00
2012-11-09 18:23:38 +00:00
2012-10-10 08:36:38 +00:00
2012-11-10 13:48:41 +00:00
2012-11-21 08:04:21 +00:00
2012-10-10 08:36:38 +00:00