Re: [RFC net-next 3/9] genetlink: add small version of ops

From
Johannes Berg <johannes@sipsolutions.net>
Date
2020-10-01 07:40:40
Reply to
Jakub Kicinski, 2020-10-01
On Wed, 2020-09-30 at 17:05 -0700, Jakub Kicinski wrote:
We want to add maxattr and policy back to genl_ops, to enable
dumping per command policy to user space. This, however, would
cause bloat for all the families with global policies. Introduce
smaller version of ops (half the size of genl_ops). Translate
these smaller ops into a full blown struct before use in the
core.
LGTM. That part about the WARN_ON was even easier than I thought :)

Reviewed-by: Johannes Berg <johannes@sipsolutions.net>

johannes
Thread (24 messages) 24 messages, 3 authors, last reply 2020-10-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help