[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121104.015711.1494281146432594398.davem@davemloft.net>
Date: Sun, 04 Nov 2012 01:57:11 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xemul@...allels.com
Cc: gorcunov@...nvz.org, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH] net: inet_diag -- Return error code if protocol
handler is missed
From: Pavel Emelyanov <xemul@...allels.com>
Date: Sun, 04 Nov 2012 05:39:19 +0400
> 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>
Applied, thanks.
--
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