Re: [PATCH v3 net-next] xfrm: Add check to prevent un-complete keymanager

From: David Miller
Date: Mon Nov 11 2013 - 14:04:25 EST


From: baker.kernel@xxxxxxxxx
Date: Mon, 11 Nov 2013 14:39:11 +0800

> + if (km->acquire == NULL || km->compile_policy == NULL)
> + return -EINVAL;

There are 7 function pointer methods that must be fully implemented
in an xfrm_mgr object, not just two.

And really we absolutely do not care at all about your out-of-tree
product, it has no bearing upon what should happen here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/