Errors in libnl-1.1-8.fc12.x86_64

Jirka Klimes jklimes at redhat.com
Thu Apr 22 08:51:46 EDT 2010


Hello,

I use Fedora 12 with libnl-1.1-8.fc12.x86_64 installed.

I have got a  problem with error messages.
Calling rtnl_route_del() returns -34, which is ERANGE. But,
calling nl_get_errno() return 0 and nl_geterror() returns 'Sucess', right 
after the rtnl_route_del().
It looks like that the error code is overriden or something, probably in 
nl_wait_for_ack()?
BTW, what actually causes to return -34?

Maybe, this is corrected in libnl2, as I've seen changes in  error handling.

Could someone tell me what's the issue here. Unfortunatelly, I need to use 
libnl1 as it's still present in Fedora and RHEL and API has changed anyway.

Thanks,
Jirka



More information about the libnl mailing list