[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1391024391.38232.YahooMailBasic@web125506.mail.ne1.yahoo.com>
Date: Wed, 29 Jan 2014 11:39:51 -0800 (PST)
From: François-Xavier Le Bail <fx.lebail@...oo.com>
To: Stephen Hemminger <shemminger@...ux-foundation.org>,
Linux Netdev List <netdev@...r.kernel.org>,
Pavel Emelyanov <xemul@...allels.com>
Subject: Re: [PATCH] iproute: Properly handle protocol level diag module absence
On Tue, 1/28/14, Pavel Emelyanov <xemul@...allels.com> wrote:
> When *_diag module is missing in the kernel, the ss tool should go
> ad read legacry /proc/* files.
> This is the case when all *_diag stuff is missing, but in case the
> inet_diag.ko is loaded, but (tcp|udp)_diag.ko is not, the ss tool
> doesn't notice this and produces empty output. The reason for that
> is -- error from the inet_diag module (which means, that e.g. the
> udp_diag is missing) is reported in the NLMSG_DONE message body.
> That said, we need to check the NLMSG_DONE's message return code
> and act respectively.
> Reported-by: François-Xavier Le Bail <fx.lebail@...oo.com>
> Signed-off-by: Pavel Emelyanov <xemul@...allels.com>
> ---
Tested-by: François-Xavier Le Bail <fx.lebail@...oo.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