commit | 0013cabab30ec55830ce63d34c0bdd887eb87644 | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <dlezcano@fr.ibm.com> | Fri Dec 07 00:42:11 2007 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 14:56:45 2008 -0800 |
tree | 667338ce7d2e2b859f1a0fd8d268622da471fe08 | |
parent | d63bddbe90c4fd924b2155ca92a879393d856170 [diff] |
[IPV6]: Make xfrm6_init to return an error code. The xfrm initialization function does not return any error code, so if there is an error, the caller can not be advise of that. This patch checks the return code of the different called functions in order to return a successful or failed initialization. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Acked-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>