[source] mac80211: fix netlink family id for nl80211 messages

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 20 08:52:59 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/9247864b6ed933841ee3068dbd4add06babe7fbd

commit 9247864b6ed933841ee3068dbd4add06babe7fbd
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Nov 20 12:52:21 2017 +0100

    mac80211: fix netlink family id for nl80211 messages
    
    Fixes responses for nl80211 calls
    
    Reported-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/kernel/mac80211/patches/008-fix-genl-family-id.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/kernel/mac80211/patches/008-fix-genl-family-id.patch b/package/kernel/mac80211/patches/008-fix-genl-family-id.patch
new file mode 100644
index 0000000..ee8fa6c
--- /dev/null
+++ b/package/kernel/mac80211/patches/008-fix-genl-family-id.patch
@@ -0,0 +1,10 @@
+--- a/compat/backport-4.12.c
++++ b/compat/backport-4.12.c
+@@ -224,6 +224,7 @@ int bp_extack_genl_register_family(struc
+ 	}
+ 
+ 	/* copy this since the family might access it directly */
++	family->id = copy->family.id;
+ 	family->attrbuf = copy->family.attrbuf;
+ 	family->mcgrp_offset = copy->family.mcgrp_offset;
+ 



More information about the lede-commits mailing list