[PATCH 0/2] libnl3 branch return type fixes



Hi,

Please find attached patches that continue fixing the return codes on the libnl3 branch. This includes libnl-1 compatibility, so that ESRCH return types get handled, and proper return types to NLE_OBJ_NOTFOUND.

The workarounds for libnl return code aliasing bug (NLE_FAILURE) in patch two will become less intrusive once the route add functions are consolidated (later patch).

  Thanks,

    Alfredo.

Alfredo Matos (2):
  libnl3: Add ESRCH to compat error translation
  libnl3: Fix ESRCH return types

 src/nm-netlink-compat.c |    2 +-
 src/nm-netlink-utils.c  |    7 ++++++-
 src/nm-system.c         |   10 +++++-----
 3 files changed, 12 insertions(+), 7 deletions(-)

--
1.7.5.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]