summaryrefslogtreecommitdiff
path: root/patches/0008-net-user-ns.patch
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-09 14:50:24 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-02-09 14:52:26 +0100
commit46939c43903da6b202c95a0fcb24acce55fd63c0 (patch)
tree7efcedec9519f1ea642b4eaa85c805f7c3af1ebb /patches/0008-net-user-ns.patch
parent477c6d345604a77a4a27d817adfc4e659a883899 (diff)
backports: don't use __ro_after_init with genl families on <=4.9
4.9 introduced __ro_after_init, but generic netlink family registration was only changed to allow it in 4.10, otherwise deregistration will crash due to writing to the RO memory. Unfortunately, spatch doesn't handle this, so manually patch the families to replace __ro_after_init with __genl_ro_after_init which is defined to nothing on kernel version <= 4.9. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/0008-net-user-ns.patch')
0 files changed, 0 insertions, 0 deletions