From: Taras Kondratiuk takondra@cisco.com Date: Mon, 29 Jul 2019 22:15:07 +0000
Commit 2753ca5d9009 ("tipc: fix uninit-value in tipc_nl_compat_doit") broke older tipc tools that use compat interface (e.g. tipc-config from tipcutils package):
...
This patch relaxes the original fix and rejects messages without arguments only if such arguments are expected by a command (reg_type is non zero).
Fixes: 2753ca5d9009 ("tipc: fix uninit-value in tipc_nl_compat_doit") Signed-off-by: Taras Kondratiuk takondra@cisco.com
The patch is based on v5.3-rc2.
Applied and queued up for -stable.