[PATCH 0/9] genetlink: reduce ops size and complexity (v2)

From
Johannes Berg <johannes@sipsolutions.net>
Date
2013-11-14 16:14:52
Also in
netfilter-devel
Reply to
Johannes Berg, 2013-11-14
As before - reduce the complexity and data/code size of genetlink ops
by making them an array rather than a linked list. Most users already
use an array thanks to genl_register_family_with_ops(), so convert the
remaining ones allowing us to get rid of the list head in each op.

Also make them const, this just makes sense at that point and the security
people like making function pointers const as well :-)

johannes
Thread (29 messages) 29 messages, 3 authors, last reply 2013-11-17
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