diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2019-07-02 15:20:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-03 11:26:35 -0700 |
commit | 1e64d7cbfdce4887008314d5b367209582223f27 (patch) | |
tree | f0b6a27f2cce0f56b78093555e65bb472097e3fb /drivers/block/null_blk_main.c | |
parent | ff95bf28c23490584b9d75913a520bb7bb1f2ecb (diff) | |
download | lwn-1e64d7cbfdce4887008314d5b367209582223f27.tar.gz lwn-1e64d7cbfdce4887008314d5b367209582223f27.zip |
net: don't warn in inet diag when IPV6 is disabled
If IPV6 was disabled, then ss command would cause a kernel warning
because the command was attempting to dump IPV6 socket information.
The fix is to just remove the warning.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202249
Fixes: 432490f9d455 ("net: ip, diag -- Add diag interface for raw sockets")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/null_blk_main.c')
0 files changed, 0 insertions, 0 deletions