diff options
author | Aditya Pakki <pakki001@umn.edu> | 2018-12-23 18:54:53 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 15:37:48 +0100 |
commit | ffe6754349892403d348eb5793aaf278a12aa414 (patch) | |
tree | bfc833ef08d0cfbeea68692ad3ab9d7ad24efa40 /fs | |
parent | 3e5d1310f341064b9325d93fee11221708aa6e67 (diff) |
net/netlink_compat: Fix a missing check of nla_parse_nested
[ Upstream commit 89dfd0083751d00d5d7ead36f6d8b045bf89c5e1 ]
In tipc_nl_compat_sk_dump(), if nla_parse_nested() fails, it could return
an error. To be consistent with other invocations of the function call,
on error, the fix passes the return value upstream.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions