]> git.ipfire.org Git - thirdparty/iproute2.git/commit
dcb: fix return value on dcb_cmd_app_show
authorAndrea Claudi <aclaudi@redhat.com>
Sat, 1 May 2021 16:39:22 +0000 (18:39 +0200)
committerDavid Ahern <dsahern@kernel.org>
Thu, 6 May 2021 14:47:57 +0000 (14:47 +0000)
commitcfd89a6f8bbd0c1fb11890cf826ae1ed467736f7
treebc34dc9604c137bb113e0e2f55756da2b43e5241
parent3296d4fe773107e52f2e5a7b9244ad7073f36f5a
dcb: fix return value on dcb_cmd_app_show

dcb_cmd_app_show() is supposed to return EINVAL if an incorrect argument
is provided.

Fixes: 8e9bed1493f5 ("dcb: Add a subtool for the DCB APP object")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Reviewed-by: Petr Machata <me@pmachata.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
dcb/dcb_app.c