]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'net-next/master'
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 May 2014 02:36:10 +0000 (12:36 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 May 2014 02:36:10 +0000 (12:36 +1000)
Conflicts:
drivers/net/ethernet/altera/altera_sgdma.c
net/netlink/af_netlink.c
net/sched/cls_api.c
net/sched/sch_api.c

33 files changed:
1  2 
MAINTAINERS
arch/arm/boot/dts/am33xx.dtsi
arch/arm/boot/dts/am4372.dtsi
drivers/net/bonding/bond_sysfs.c
drivers/net/can/c_can/c_can_pci.c
drivers/net/ethernet/altera/altera_msgdma.c
drivers/net/ethernet/altera/altera_sgdma.c
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
drivers/net/hyperv/netvsc_drv.c
drivers/net/macvlan.c
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/recv.c
drivers/net/wireless/rt2x00/rt2x00mac.c
include/linux/netlink.h
include/net/cfg80211.h
kernel/audit.c
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c
net/ipv4/tcp_cubic.c
net/ipv4/tcp_output.c
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/util.c
net/netfilter/nfnetlink.c
net/netlink/af_netlink.c
net/sched/cls_api.c
net/sched/sch_api.c
net/wireless/scan.c
net/wireless/sme.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
index fe5f6303b58400fb69913229c20da6a2f2a5d303,7ab384f59e7ef622d324401d1f89d68b2a4a06c3..58f71e1fcc4e7bb48de89b13ec56dd6f95755dd6
@@@ -84,13 -115,11 +115,14 @@@ static int c_can_pci_probe(struct pci_d
                goto out_disable_device;
        }
  
 -      pci_set_master(pdev);
 -      pci_enable_msi(pdev);
 +      ret = pci_enable_msi(pdev);
 +      if (!ret) {
 +              dev_info(&pdev->dev, "MSI enabled\n");
 +              pci_set_master(pdev);
 +      }
  
-       addr = pci_iomap(pdev, 0, pci_resource_len(pdev, 0));
+       addr = pci_iomap(pdev, c_can_pci_data->bar,
+                        pci_resource_len(pdev, c_can_pci_data->bar));
        if (!addr) {
                dev_err(&pdev->dev,
                        "device has no PCI memory resources, "
index f0bbd4246d71d857eba4c439cac33e0c8a930864,a2901139b209ffb4269cc50bbad867a70a03ee8d..5f55395616612d843b10a9b7f6ad0345f15344fb
@@@ -1331,13 -1318,11 +1331,14 @@@ static s32 e1000_check_for_copper_link_
         * aggressive resulting in many collisions. To avoid this, increase
         * the IPG and reduce Rx latency in the PHY.
         */
 -      if ((hw->mac.type == e1000_pch2lan) && link) {
 +      if (((hw->mac.type == e1000_pch2lan) ||
 +           (hw->mac.type == e1000_pch_lpt)) && link) {
                u32 reg;
                reg = er32(STATUS);
                if (!(reg & (E1000_STATUS_FD | E1000_STATUS_SPEED_MASK))) {
 +                      u16 emi_addr;
 +
                        reg = er32(TIPG);
                        reg &= ~E1000_TIPG_IPGT_MASK;
                        reg |= 0xFF;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc kernel/audit.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 81dca96d2be682afde14169615b50fb73626c662,92f4b6915e8989ee6cb504dd3c84d505bd12b395..e0ccd84d4d6781ab761349e0ac913f6ddc3e8994
@@@ -1492,8 -1445,8 +1510,8 @@@ static int netlink_bind(struct socket *
                return -EINVAL;
  
        /* Only superuser is allowed to listen multicasts */
-       if (nladdr->nl_groups) {
+       if (groups) {
 -              if (!netlink_capable(sock, NL_CFG_F_NONROOT_RECV))
 +              if (!netlink_allowed(sock, NL_CFG_F_NONROOT_RECV))
                        return -EPERM;
                err = netlink_realloc_groups(sk);
                if (err)
index bdbdb1a7920af99c1829ae62716caddafb114fef,1a4a2026778791ffffca1bbad8d72cf6faa1c0ed..45527e6b52dbf396cbb7415bb0613152a8320096
@@@ -134,7 -134,8 +134,8 @@@ static int tc_ctl_tfilter(struct sk_buf
        int err;
        int tp_created = 0;
  
-       if ((n->nlmsg_type != RTM_GETTFILTER) && !netlink_capable(skb, CAP_NET_ADMIN))
+       if ((n->nlmsg_type != RTM_GETTFILTER) &&
 -          !ns_capable(net->user_ns, CAP_NET_ADMIN))
++          !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN))
                return -EPERM;
  
  replay:
index 400769014bbde8d4e9032600524e97f549dcff31,86f8edfd6b8ae96886cd4c1d63936c4146252e40..fd14df56e5ffdc2d96d61abbe55b2607c95179c5
@@@ -1084,7 -1084,8 +1084,8 @@@ static int tc_get_qdisc(struct sk_buff 
        struct Qdisc *p = NULL;
        int err;
  
-       if ((n->nlmsg_type != RTM_GETQDISC) && !netlink_capable(skb, CAP_NET_ADMIN))
+       if ((n->nlmsg_type != RTM_GETQDISC) &&
 -          !ns_capable(net->user_ns, CAP_NET_ADMIN))
++          !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN))
                return -EPERM;
  
        err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL);
@@@ -1151,7 -1152,7 +1152,7 @@@ static int tc_modify_qdisc(struct sk_bu
        struct Qdisc *q, *p;
        int err;
  
-       if (!netlink_capable(skb, CAP_NET_ADMIN))
 -      if (!ns_capable(net->user_ns, CAP_NET_ADMIN))
++      if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN))
                return -EPERM;
  
  replay:
@@@ -1490,7 -1491,8 +1491,8 @@@ static int tc_ctl_tclass(struct sk_buf
        u32 qid;
        int err;
  
-       if ((n->nlmsg_type != RTM_GETTCLASS) && !netlink_capable(skb, CAP_NET_ADMIN))
+       if ((n->nlmsg_type != RTM_GETTCLASS) &&
 -          !ns_capable(net->user_ns, CAP_NET_ADMIN))
++          !netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN))
                return -EPERM;
  
        err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL);
index 88f108edfb586ef3b2d17d15cf66b00da84f93f0,0f5da18cc6193b648a4a05f19aa6fe7627f5adbf..e7329bb6a323c95d0a3297f9fc928780f9bc7f66
@@@ -284,22 -284,14 +284,22 @@@ void cfg80211_sched_scan_results(struc
  }
  EXPORT_SYMBOL(cfg80211_sched_scan_results);
  
 -void cfg80211_sched_scan_stopped(struct wiphy *wiphy)
 +void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy)
  {
-       struct cfg80211_registered_device *rdev = wiphy_to_dev(wiphy);
+       struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy);
  
 +      ASSERT_RTNL();
 +
        trace_cfg80211_sched_scan_stopped(wiphy);
  
 -      rtnl_lock();
        __cfg80211_stop_sched_scan(rdev, true);
 +}
 +EXPORT_SYMBOL(cfg80211_sched_scan_stopped_rtnl);
 +
 +void cfg80211_sched_scan_stopped(struct wiphy *wiphy)
 +{
 +      rtnl_lock();
 +      cfg80211_sched_scan_stopped_rtnl(wiphy);
        rtnl_unlock();
  }
  EXPORT_SYMBOL(cfg80211_sched_scan_stopped);
Simple merge