ソースを参照

mac80211: fix netlink family id for nl80211 messages

Fixes responses for nl80211 calls

Reported-by: Koen Vandeputte <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 8 年 前
コミット
9247864b6e
1 ファイル変更10 行追加0 行削除
  1. 10 0
      package/kernel/mac80211/patches/008-fix-genl-family-id.patch

+ 10 - 0
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;
+