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-16 19:39:29 +00:00
2012-11-05 07:08:45 +00:00
2011-11-08 19:25:52 +00:00
2012-11-16 19:57:16 +00:00
2012-11-16 19:57:16 +00:00
2012-11-23 05:33:01 +00:00