]> git.baikalelectronics.ru Git - kernel.git/commit
genetlink: allow making ops const
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Nov 2013 16:14:45 +0000 (17:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 22:10:41 +0000 (17:10 -0500)
commite060472e0542b65dda1e5adc5d83498eddd5dad3
tree6649cb4e7b88ebec4826252a1a3675fb75ba4621
parentcec5a7704ffce8a2e13885b52575a013b2f55d54
genetlink: allow making ops const

Allow making the ops array const by not modifying the ops
flags on registration but rather only when ops are sent
out in the family information.

No users are updated yet except for the pre_doit/post_doit
calls in wireless (the only ones that exist now.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h
net/netlink/genetlink.c
net/wireless/nl80211.c