On Tue, Oct 15, Olaf Hering wrote:
> Is the code below supposed to work anyway? Thanks for any help.
For some reason libnl does require an ack handler. Without such handler,
if the data and the actual ack are sent back to the application with two
independent messages, the second recv will just be the ack. My example
did not take this into account. Now I changed it to something like this:
do {
nl_recvmsgs(handle, cb);
} while (ack == 0);
Now it happens to work.
Olaf
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
majo...@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html