[PATCH 2/3] nl: add function nl_pickup_keep_syserr()

Thomas Graf tgraf at suug.ch
Wed Nov 26 15:01:17 PST 2014


On 11/26/14 at 06:13pm, Thomas Haller wrote:
> nl_pickup() converts error codes from netlink into
> nl error codes using nl_syserr2nlerr(). The latter function
> mangles different error codes to the same nl error code.
> 
> Add a new function, that returns both the nl error code
> and the original error code.
> 
> Signed-off-by: Thomas Haller <thaller at redhat.com>

Acked-by: Thomas Graf <tgraf at suug.ch>



More information about the libnl mailing list