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 <johan...@sipsolutions.net> johannes