lkml.org 
[lkml]   [2013]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 net-next] xfrm: Add check to prevent un-complete key manager
From
From: baker.kernel@gmail.com
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.


\
 
 \ /
  Last update: 2013-11-11 20:21    [W:0.031 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site