From: Denis Kenzior <denkenz@gmail.com>
To: ell@lists.01.org
Subject: Re: [PATCH] genl: Call vanished function on error when fetching netlink family info
Date: Fri, 14 Nov 2014 21:51:41 -0600 [thread overview]
Message-ID: <5466CDCD.8070303@gmail.com> (raw)
In-Reply-To: <1414414084-11849-1-git-send-email-patrik.flykt@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
On 10/27/2014 07:48 AM, Patrik Flykt wrote:
> If initial information of the netlink family could not be received, call
> 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.
>
> Cheers,
>
> Patrik
>
>
> 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.
Regards,
-Denis
prev parent reply other threads:[~2014-11-15 3:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 12:48 [PATCH] genl: Call vanished function on error when fetching netlink family info Patrik Flykt
2014-11-15 3:51 ` Denis Kenzior [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5466CDCD.8070303@gmail.com \
--to=denkenz@gmail.com \
--cc=ell@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.