xfrm: export verify_userspi_info for pkfey and netlink interface
authorFan Du <fan.du@windriver.com>
Mon, 16 Dec 2013 10:47:49 +0000 (18:47 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 16 Dec 2013 11:54:02 +0000 (12:54 +0100)
commit776e9dd90ca223b82166eb2835389493b5914cba
tree565d2ac3f67fe6fa88e789fe94ac5cf9ee3a3d4b
parentea9884b3acf3311c8a11db67bfab21773f6f82ba
xfrm: export verify_userspi_info for pkfey and netlink interface

In order to check against valid IPcomp spi range, export verify_userspi_info
for both pfkey and netlink interface.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c