[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200222.220030.1329521446022083128.davem@davemloft.net>
Date: Sat, 22 Feb 2020 22:00:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, kuba@...nel.org, jiri@...lanox.com
Subject: Re: [PATCH net] net: genetlink: return the error code when
attribute parsing fails.
From: Paolo Abeni <pabeni@...hat.com>
Date: Fri, 21 Feb 2020 19:42:13 +0100
> Currently if attribute parsing fails and the genl family
> does not support parallel operation, the error code returned
> by __nlmsg_parse() is discarded by genl_family_rcv_msg_attrs_parse().
>
> Be sure to report the error for all genl families.
>
> Fixes: c10e6cf85e7d ("net: genetlink: push attrbuf allocation and parsing to a separate function")
> Fixes: ab5b526da048 ("net: genetlink: always allocate separate attrs for dumpit ops")
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists