Re: [RFC net-next 6/9] genetlink: use .start callback for dumppolicy

From
Johannes Berg <johannes@sipsolutions.net>
Date
2020-10-01 07:49:52
Reply to
Jakub Kicinski, 2020-10-01
On Wed, 2020-09-30 at 17:05 -0700, Jakub Kicinski wrote:
The structure of ctrl_dumppolicy() is clearly split into
init and dumping. Move the init to a .start callback
for clarity, it's a more idiomatic netlink dump code structure.
Yep, makes sense.

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