]> 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)
commitc1a0d6b7064f2b14c1389a87e1d3a512c52f90a3
tree422a5d96f5a43193e7792ec93bb6faf10b85dc87
parentc5de80b37a8892c1b9c8a09d141c8e476c704393
parent6a6c4a066dc4aee3c206fe4f217eef89924f428f
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>