From: Stephen Hemminger
Date: Mon, 1 Jul 2019 08:23:03 -0700
> @@ -19,9 +19,11 @@ raw_get_hashinfo(const struct inet_diag_req_v2 *r)
> {
> if (r->sdiag_family == AF_INET) {
> return &raw_v4_hashinfo;
> -#if IS_ENABLED(CONFIG_IPV6)
> } else if (r->sdiag_family == AF_INE
On Tue, 02 Jul 2019 14:23:47 -0700 (PDT)
David Miller wrote:
> From: Stephen Hemminger
> Date: Mon, 1 Jul 2019 08:23:03 -0700
>
> > @@ -19,9 +19,11 @@ raw_get_hashinfo(const struct inet_diag_req_v2 *r)
> > {
> > if (r->sdiag_family == AF_INET) {
> > return &raw_v4_hashinfo;
>
If IPV6 was disabled, then ss command would cause a kernel warning
because the command was attempting to dump IPV6 socke information.
This should not be a warning, instead just return a normal error
code.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202249
Fixes: 432490f9d455 ("net: ip, d