From 06140c3ec9f0ab952fb42f112be7143d69688984 Mon Sep 17 00:00:00 2001 From: Nicolas PLANEL Date: Tue, 26 Aug 2014 11:34:40 -0400 Subject: [PATCH] xfrm: fix xfrm_sa_msg_parser() to return the value from the callback Signed-off-by: Thomas Haller --- lib/xfrm/sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xfrm/sa.c b/lib/xfrm/sa.c index 9b5ea9d..693eee4 100644 --- a/lib/xfrm/sa.c +++ b/lib/xfrm/sa.c @@ -990,7 +990,7 @@ static int xfrm_sa_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, err = pp->pp_cb((struct nl_object *) sa, pp); xfrmnl_sa_put(sa); - return 0; + return err; } /**