]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'genetlink'
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:11:17 +0000 (17:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:11:17 +0000 (17:11 -0500)
commit4e9d6d17dc9efdae7a95e6df66da80ee4d814098
tree422a5d96f5a43193e7792ec93bb6faf10b85dc87
parentd3c806e3674fd1093eeab79c2073eaa2257be922
parent1ba8e58f3d42d82856e3e49b32021db0c86992f6
Merge branch 'genetlink'

Johannes Berg says:

====================
genetlink: reduce ops size and complexity (v2)

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 :-)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>