Skip to content
Commit 89dfd008 authored by Aditya Pakki's avatar Aditya Pakki Committed by David S. Miller
Browse files

net/netlink_compat: Fix a missing check of nla_parse_nested



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: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 40c3ff6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment