]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 18:31:43 +0000 (14:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 18:31:43 +0000 (14:31 -0400)
Four minor merge conflicts:

1) qca_spi.c renamed the local variable used for the SPI device
   from spi_device to spi, meanwhile the spi_set_drvdata() call
   got moved further up in the probe function.

2) Two changes were both adding new members to codel params
   structure, and thus we had overlapping changes to the
   initializer function.

3) 'net' was making a fix to sk_release_kernel() which is
   completely removed in 'net-next'.

4) In net_namespace.c, the rtnl_net_fill() call for GET operations
   had the command value fixed, meanwhile 'net-next' adjusted the
   argument signature a bit.

This also matches example merge resolutions posted by Stephen
Rothwell over the past two days.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 files changed:
1  2 
arch/arm/net/bpf_jit_32.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/qualcomm/qca_spi.c
drivers/net/ethernet/xilinx/ll_temac_main.c
drivers/net/hyperv/netvsc.c
drivers/net/ppp/pppoe.c
include/linux/netdevice.h
include/net/codel.h
include/net/mac80211.h
net/core/dev.c
net/core/net_namespace.c
net/ipv6/route.c
net/mac80211/iface.c
net/mac80211/sta_info.c
net/netlink/af_netlink.c
net/packet/af_packet.c
net/sched/sch_codel.c
net/sched/sch_fq_codel.c
net/sched/sch_gred.c

Simple merge
Simple merge
Simple merge
index c6b749880e462b46ae6851f8032fefdaa9cd45ec,6af028d5f9bcbdcc3aae303a114fd64d87986eed..2f87909f51866f1b219552d3c3f062f9338a32fc
@@@ -909,10 -909,12 +909,12 @@@ qca_spi_probe(struct spi_device *spi
                return -ENOMEM;
        }
        qca->net_dev = qcaspi_devs;
 -      qca->spi_dev = spi_device;
 +      qca->spi_dev = spi;
        qca->legacy_mode = legacy_mode;
  
 -      spi_set_drvdata(spi_device, qcaspi_devs);
++      spi_set_drvdata(spi, qcaspi_devs);
 -      mac = of_get_mac_address(spi_device->dev.of_node);
 +      mac = of_get_mac_address(spi->dev.of_node);
  
        if (mac)
                ether_addr_copy(qca->net_dev->dev_addr, mac);
Simple merge
Simple merge
Simple merge
index 8c0f78f209e86687d3fc73e6b32d39f42ed31b60,1e18005f7f65f061f6084ea1823a8d37368a57e4..267e70210061d82c22b4b2e91a9ab69cbb2b7ce7
@@@ -119,14 -119,14 +119,16 @@@ static inline u32 codel_time_to_us(code
  /**
   * struct codel_params - contains codel parameters
   * @target:   target queue size (in time units)
 + * @ce_threshold:  threshold for marking packets with ECN CE
   * @interval: width of moving time window
+  * @mtu:      device mtu, or minimal queue backlog in bytes.
   * @ecn:      is Explicit Congestion Notification enabled
   */
  struct codel_params {
        codel_time_t    target;
 +      codel_time_t    ce_threshold;
        codel_time_t    interval;
+       u32             mtu;
        bool            ecn;
  };
  
@@@ -167,16 -166,14 +169,18 @@@ struct codel_stats 
        u32             maxpacket;
        u32             drop_count;
        u32             ecn_mark;
 +      u32             ce_mark;
  };
  
- static void codel_params_init(struct codel_params *params)
 +#define CODEL_DISABLED_THRESHOLD INT_MAX
 +
+ static void codel_params_init(struct codel_params *params,
+                             const struct Qdisc *sch)
  {
        params->interval = MS2TIME(100);
        params->target = MS2TIME(5);
+       params->mtu = psched_mtu(qdisc_dev(sch));
 +      params->ce_threshold = CODEL_DISABLED_THRESHOLD;
        params->ecn = false;
  }
  
Simple merge
diff --cc net/core/dev.c
Simple merge
index a665bf490c8808c43184effa2dba18112155295a,572af0011997a2057f30ba0b5022760e11493d98..cbee75f2fc2865a815b43af5e829a2b2807f8716
@@@ -639,9 -600,8 +639,9 @@@ static int rtnl_net_getid(struct sk_buf
                goto out;
        }
  
 +      id = peernet2id(net, peer);
        err = rtnl_net_fill(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0,
-                           RTM_GETNSID, net, id);
 -                          RTM_NEWNSID, net, peer, -1);
++                          RTM_NEWNSID, net, id);
        if (err < 0)
                goto err_out;
  
Simple merge
index dc2d7133c4f6a348184b4f78877e9dbebdc0ba8f,bab5c63c0bad798529b3c5a964db995be4eef6b0..4ee8fea263ed0ee5605cab21c8822e0c2a3f893a
@@@ -816,15 -819,17 +816,17 @@@ static void ieee80211_do_stop(struct ie
         * (because if we remove a STA after ops->remove_interface()
         * the driver will have removed the vif info already!)
         *
-        * This is relevant only in WDS mode, in all other modes we've
-        * already removed all stations when disconnecting or similar,
-        * so warn otherwise.
+        * In WDS mode a station must exist here and be flushed, for
+        * AP_VLANs stations may exist since there's nothing else that
+        * would have removed them, but in other modes there shouldn't
+        * be any stations.
         */
        flushed = sta_info_flush(sdata);
-       WARN_ON_ONCE((sdata->vif.type != NL80211_IFTYPE_WDS && flushed > 0) ||
-                    (sdata->vif.type == NL80211_IFTYPE_WDS && flushed != 1));
+       WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
+                    ((sdata->vif.type != NL80211_IFTYPE_WDS && flushed > 0) ||
+                     (sdata->vif.type == NL80211_IFTYPE_WDS && flushed != 1)));
  
 -      /* don't count this interface for promisc/allmulti while it is down */
 +      /* don't count this interface for allmulti while it is down */
        if (sdata->flags & IEEE80211_SDATA_ALLMULTI)
                atomic_dec(&local->iff_allmultis);
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge