[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7VMOhZLZDLAzo3m@nanopsycho>
Date: Wed, 4 Jan 2023 10:51:54 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, jacob.e.keller@...el.com, pablo@...filter.org,
kadlec@...filter.org, fw@...len.de, johannes@...solutions.net,
ecree.xilinx@...il.com, netfilter-devel@...r.kernel.org,
coreteam@...filter.org
Subject: Re: [PATCH net-next 04/14] netlink: add macro for checking dump ctx
size
Wed, Jan 04, 2023 at 05:16:26AM CET, kuba@...nel.org wrote:
>We encourage casting struct netlink_callback::ctx to a local
>struct (in a comment above the field). Provide a convenience
>macro for checking if the local struct fits into the ctx.
>
>Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
>Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists