[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5095C747.7090805@parallels.com>
Date: Sun, 04 Nov 2012 05:39:19 +0400
From: Pavel Emelyanov <xemul@...allels.com>
To: Cyrill Gorcunov <gorcunov@...nvz.org>
CC: NETDEV <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [PATCH] net: inet_diag -- Return error code if protocol handler
is missed
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@...nvz.org>
> CC: David Miller <davem@...emloft.net>
> CC: Eric Dumazet <eric.dumazet@...il.com>
> CC: Pavel Emelyanov <xemul@...allels.com>
Acked-by: Pavel Emelyanov <xemul@...allels.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists