libnl/include
Thomas Haller b54775d316 route/link: return -NLE_OPNOTSUPP in rtnl_link_get_kernel() for old kernels
Older kernels without patch a3d1289126e7b14307074b76bf1677015ea5036f do
not support rtnl_getlink() by ifname. Detect this situation and fail
with -NLE_OPNOTSUPP instead of -NLE_INVAL.

This changes behavior in returning a different error code for this
case.

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-11-27 10:34:57 +01:00
..
linux-private/linux idiag: add copy of kernel header include/linux/inet_diag.h 2014-11-24 18:30:21 +01:00
netlink route/link: return -NLE_OPNOTSUPP in rtnl_link_get_kernel() for old kernels 2014-11-27 10:34:57 +01:00
netlink-private idiag: add a copy of linux/sock_diag.h 2014-11-24 13:21:15 +01:00
Makefile.am idiag: add copy of kernel header include/linux/inet_diag.h 2014-11-24 18:30:21 +01:00