summaryrefslogtreecommitdiff
path: root/patches/0077-genl-ro-after-init
AgeCommit message (Collapse)Author
2018-09-19patches: make patches apply with kernel 4.19Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-03-21patches: refresh on kernel v4.16-rc3Hauke Mehrtens
No manual changes needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-09-21patches: refresh patches on v4.14-rc1Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-09backports: don't use __ro_after_init with genl families on <=4.9Johannes Berg
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>