On 10/27/2014 07:48 AM, Patrik Flykt wrote:
If initial information of the netlink family could not be received,
the registered generic netlink vanished function immediately. The reason
for the error can for example be that the proper kernel module has not
been loaded or the proper functionality has not been compiled in.
There does not seem to be any way of communicating an error to the caller,
which now will hang indefinitely waiting for an answer that is not coming.
Thus improvising a bit with the currently unused 'vanished' callback.
Another option is to always require a timer in the calling application.
ell/genl.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Patch has been applied thanks. I shortened the commit header since that
should ideally be under 50 characters.