commit | 27d11a81197c60a409dda84de01cf0aa841530f9 | [log] [tgz] |
---|---|---|
author | Anton Moryakov <ant.v.moryakov@gmail.com> | Sat Jul 19 19:31:22 2025 +0300 |
committer | David Ahern <dsahern@kernel.org> | Tue Jul 29 23:12:08 2025 +0000 |
tree | b5a1fc11e7d4a3678dbaccbd3f5c5e5b54475cc1 | |
parent | e041178ba6bc2af0a1148145ee303c9db79fb4cb [diff] |
misc: ss.c: fix logical error in main function In the line if (!dump_tcpdiag) { there was a logical error in checking the descriptor, which the static analyzer complained about (this action is always false) fixed by replacing !dump_tcpdiag with !dump_fp Reported-by: SVACE static analyzer Signed-off-by: Anton Moryakov <ant.v.moryakov@gmail.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David Ahern <dsahern@kernel.org>