From: Pavel Emelyanov <xemul@parallels•com>
To: Cyrill Gorcunov <gorcunov@openvz•org>
Cc: NETDEV <netdev@vger•kernel.org>,
David Miller <davem@davemloft•net>,
Eric Dumazet <eric.dumazet@gmail•com>
Subject: Re: [PATCH] net: inet_diag -- Return error code if protocol handler is missed
Date: Sun, 04 Nov 2012 05:39:19 +0400 [thread overview]
Message-ID: <5095C747.7090805@parallels.com> (raw)
In-Reply-To: <20121103193034.GF6055@moon>
On 11/03/2012 11:30 PM, Cyrill Gorcunov wrote:
> We've observed that in case if UDP diag module is not
> supported in kernel the netlink returns NLMSG_DONE without
> notifying a caller that handler is missed.
>
> This patch makes __inet_diag_dump to return error code instead.
>
> So as example it become possible to detect such situation
> and handle it gracefully on userspace level.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz•org>
> CC: David Miller <davem@davemloft•net>
> CC: Eric Dumazet <eric.dumazet@gmail•com>
> CC: Pavel Emelyanov <xemul@parallels•com>
Acked-by: Pavel Emelyanov <xemul@parallels•com>
next prev parent reply other threads:[~2012-11-04 1:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-03 19:30 [PATCH] net: inet_diag -- Return error code if protocol handler is missed Cyrill Gorcunov
2012-11-04 1:39 ` Pavel Emelyanov [this message]
2012-11-04 5:57 ` David Miller
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=5095C747.7090805@parallels.com \
--to=xemul@parallels$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=eric.dumazet@gmail$(echo .)com \
--cc=gorcunov@openvz$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox