Re: [PATCH] tipc: compat: allow tipc commands without arguments

From: David Miller
Date: Thu Aug 01 2019 - 18:15:17 EST


From: Taras Kondratiuk <takondra@xxxxxxxxx>
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@xxxxxxxxx>
> ---
> The patch is based on v5.3-rc2.

Applied and queued up for -stable.