Merge tag 'v3.10.57' into update
authorStricted <info@stricted.net>
Wed, 21 Mar 2018 21:28:46 +0000 (22:28 +0100)
committerStricted <info@stricted.net>
Wed, 21 Mar 2018 21:28:46 +0000 (22:28 +0100)
This is the 3.10.57 stable release

1  2 
Makefile
drivers/cpufreq/cpufreq_governor.c
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_stats.c
init/Kconfig
kernel/events/core.c
kernel/fork.c
kernel/trace/ring_buffer.c
net/wireless/nl80211.c

diff --cc Makefile
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc init/Kconfig
Simple merge
Simple merge
diff --cc kernel/fork.c
Simple merge
Simple merge
index 9abf1969c114c259125b49d88fd333089665e853,62aebed7c6e20bf012464794e2878b18e3cf8a14..43ab4b03d306119b5546fe3c8cdae4432cee28b1
@@@ -6642,17 -6597,15 +6642,20 @@@ void __cfg80211_send_event_skb(struct s
        void *hdr = ((void **)skb->cb)[1];
        struct nlattr *data = ((void **)skb->cb)[2];
  
+       /* clear CB data for netlink core to own from now on */
+       memset(skb->cb, 0, sizeof(skb->cb));
        nla_nest_end(skb, data);
        genlmsg_end(skb, hdr);
 -      genlmsg_multicast_netns(wiphy_net(&rdev->wiphy), skb, 0,
 -                              nl80211_testmode_mcgrp.id, gfp);
 +
 +      if (data->nla_type == NL80211_ATTR_VENDOR_DATA)
 +              genlmsg_multicast_netns(wiphy_net(&rdev->wiphy), skb, 0,
 +                      nl80211_vendor_mcgrp.id, gfp);
 +      else
 +              genlmsg_multicast_netns(wiphy_net(&rdev->wiphy), skb, 0,
 +                      nl80211_testmode_mcgrp.id, gfp);
  }
 -EXPORT_SYMBOL(cfg80211_testmode_event);
 +EXPORT_SYMBOL(__cfg80211_send_event_skb);
  #endif
  
  static int nl80211_connect(struct sk_buff *skb, struct genl_info *info)