Re: [PATCH] net/netlink_compat: Fix a missing check of nla_parse_nested

From: David Miller
Date: Mon Dec 24 2018 - 17:42:39 EST


From: Aditya Pakki <pakki001@xxxxxxx>
Date: Sun, 23 Dec 2018 18:54:53 -0600

> 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@xxxxxxx>

Applied, thanks.