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:
parent
77bbf2270c
commit
06140c3ec9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue