linux/net/tipc
Johannes Berg 56989f6d85 genetlink: mark families as __ro_after_init
Now genl_register_family() is the only thing (other than the
users themselves, perhaps, but I didn't find any doing that)
writing to the family struct.

In all families that I found, genl_register_family() is only
called from __init functions (some indirectly, in which case
I've add __init annotations to clarifly things), so all can
actually be marked __ro_after_init.

This protects the data structure from accidental corruption.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-27 16:16:09 -04:00
..
addr.c
addr.h
bcast.c tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
bcast.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
bearer.c tipc: add the ability to get UDP options via netlink 2016-08-26 21:38:41 -07:00
bearer.h tipc: introduce UDP replicast 2016-08-26 21:38:41 -07:00
core.c
core.h
discover.c
discover.h
eth_media.c
ib_media.c
Kconfig
link.c tipc: send broadcast nack directly upon sequence gap detection 2016-09-02 17:10:25 -07:00
link.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
Makefile
monitor.c tipc: fix variable dereference before NULL check 2016-08-10 17:56:52 -07:00
monitor.h tipc: dump monitor attributes 2016-07-26 14:26:42 -07:00
msg.c
msg.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
name_distr.c tipc: fix random link resets while adding a second bearer 2016-09-01 10:12:26 -07:00
name_distr.h
name_table.c
name_table.h
net.c
net.h tipc: add peer removal functionality 2016-08-18 23:36:07 -07:00
netlink_compat.c genetlink: mark families as __ro_after_init 2016-10-27 16:16:09 -04:00
netlink.c genetlink: mark families as __ro_after_init 2016-10-27 16:16:09 -04:00
netlink.h tipc: make cluster size threshold for monitoring configurable 2016-07-26 14:26:42 -07:00
node.c tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
node.h tipc: transfer broadcast nacks in link state messages 2016-09-02 17:10:24 -07:00
server.c
server.h
socket.c tipc: fix NULL pointer dereference in shutdown() 2016-08-15 13:55:36 -07:00
socket.h
subscr.c
subscr.h
sysctl.c
udp_media.c tipc: info leak in __tipc_nl_add_udp_addr() 2016-10-13 12:10:01 -04:00
udp_media.h tipc: add UDP remoteip dump to netlink API 2016-08-26 21:38:41 -07:00