xfrm: fix xfrm_sa_msg_parser() to return the value from the callback

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Nicolas PLANEL 2014-08-26 11:34:40 -04:00 committed by Thomas Haller
parent 77bbf2270c
commit 06140c3ec9

View file

@ -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;
}
/**