Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Oct 2015 13:08:27 +0000 (06:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Oct 2015 13:08:27 +0000 (06:08 -0700)
Conflicts:
drivers/net/usb/asix_common.c
net/ipv4/inet_connection_sock.c
net/switchdev/switchdev.c

In the inet_connection_sock.c case the request socket hashing scheme
is completely different in net-next.

The other two conflicts were overlapping changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
47 files changed:
1  2 
MAINTAINERS
arch/arm/net/bpf_jit_32.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/intel/i40e/i40e_adminq.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40evf/i40e_adminq.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/item.h
drivers/net/ethernet/mellanox/mlxsw/pci.c
drivers/net/ethernet/mellanox/mlxsw/switchx2.c
drivers/net/phy/Kconfig
drivers/net/usb/Kconfig
drivers/net/vxlan.c
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/iwlwifi/iwl-7000.c
drivers/net/wireless/iwlwifi/mvm/d3.c
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/ops.c
include/net/inet_timewait_sock.h
include/net/sock.h
include/uapi/linux/openvswitch.h
include/uapi/linux/rtnetlink.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/core/filter.c
net/dsa/dsa.c
net/ipv4/arp.c
net/ipv6/addrconf.c
net/ipv6/ip6_output.c
net/ipv6/route.c
net/mac80211/debugfs.c
net/mac80211/status.c
net/mac80211/tx.c
net/openvswitch/actions.c
net/openvswitch/conntrack.c
net/openvswitch/flow.h
net/openvswitch/flow_netlink.c
net/openvswitch/flow_table.c
net/switchdev/switchdev.c
net/tipc/msg.h
net/tipc/node.c

diff --cc MAINTAINERS
Simple merge
Simple merge
@@@ -300,12 -308,15 +300,12 @@@ static int mlx5_query_port_pvlc(struct 
                                int pvlc_size,  u8 local_port)
  {
        u32 in[MLX5_ST_SZ_DW(pvlc_reg)];
 -      int err;
  
        memset(in, 0, sizeof(in));
-       MLX5_SET(ptys_reg, in, local_port, local_port);
+       MLX5_SET(pvlc_reg, in, local_port, local_port);
  
 -      err = mlx5_core_access_reg(dev, in, sizeof(in), pvlc,
 -                                 pvlc_size, MLX5_REG_PVLC, 0, 0);
 -
 -      return err;
 +      return mlx5_core_access_reg(dev, in, sizeof(in), pvlc,
 +                                  pvlc_size, MLX5_REG_PVLC, 0, 0);
  }
  
  int mlx5_query_port_vl_hw_cap(struct mlx5_core_dev *dev,
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc net/dsa/dsa.c
Simple merge
diff --cc net/ipv4/arp.c
Simple merge
Simple merge
Simple merge
@@@ -1198,18 -1213,14 +1198,14 @@@ struct dst_entry *ip6_blackhole_route(s
  
        rt = dst_alloc(&ip6_dst_blackhole_ops, ort->dst.dev, 1, DST_OBSOLETE_NONE, 0);
        if (rt) {
-               new = &rt->dst;
-               memset(new + 1, 0, sizeof(*rt) - sizeof(*new));
+               rt6_info_init(rt);
  
+               new = &rt->dst;
                new->__use = 1;
                new->input = dst_discard;
 -              new->output = dst_discard_sk;
 +              new->output = dst_discard_out;
  
-               if (dst_metrics_read_only(&ort->dst))
-                       new->_metrics = ort->dst._metrics;
-               else
-                       dst_copy_metrics(new, &ort->dst);
+               dst_copy_metrics(new, &ort->dst);
                rt->rt6i_idev = ort->rt6i_idev;
                if (rt->rt6i_idev)
                        in6_dev_hold(rt->rt6i_idev);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
  #include <linux/mutex.h>
  #include <linux/notifier.h>
  #include <linux/netdevice.h>
 +#include <linux/etherdevice.h>
  #include <linux/if_bridge.h>
 +#include <linux/list.h>
 +#include <linux/workqueue.h>
+ #include <linux/if_vlan.h>
  #include <net/ip_fib.h>
  #include <net/switchdev.h>
  
@@@ -846,33 -635,32 +847,35 @@@ static int switchdev_port_br_afspec(str
                if (nla_len(attr) != sizeof(struct bridge_vlan_info))
                        return -EINVAL;
                vinfo = nla_data(attr);
 -              vlan->flags = vinfo->flags;
+               if (!vinfo->vid || vinfo->vid >= VLAN_VID_MASK)
+                       return -EINVAL;
 +              vlan.flags = vinfo->flags;
                if (vinfo->flags & BRIDGE_VLAN_INFO_RANGE_BEGIN) {
 -                      if (vlan->vid_begin)
 +                      if (vlan.vid_begin)
 +                              return -EINVAL;
 +                      vlan.vid_begin = vinfo->vid;
 +                      /* don't allow range of pvids */
 +                      if (vlan.flags & BRIDGE_VLAN_INFO_PVID)
                                return -EINVAL;
 -                      vlan->vid_begin = vinfo->vid;
                } else if (vinfo->flags & BRIDGE_VLAN_INFO_RANGE_END) {
 -                      if (!vlan->vid_begin)
 +                      if (!vlan.vid_begin)
                                return -EINVAL;
 -                      vlan->vid_end = vinfo->vid;
 -                      if (vlan->vid_end <= vlan->vid_begin)
 +                      vlan.vid_end = vinfo->vid;
 +                      if (vlan.vid_end <= vlan.vid_begin)
                                return -EINVAL;
 -                      err = f(dev, &obj);
 +                      err = f(dev, &vlan.obj);
                        if (err)
                                return err;
 -                      memset(vlan, 0, sizeof(*vlan));
 +                      memset(&vlan, 0, sizeof(vlan));
                } else {
 -                      if (vlan->vid_begin)
 +                      if (vlan.vid_begin)
                                return -EINVAL;
 -                      vlan->vid_begin = vinfo->vid;
 -                      vlan->vid_end = vinfo->vid;
 -                      err = f(dev, &obj);
 +                      vlan.vid_begin = vinfo->vid;
 +                      vlan.vid_end = vinfo->vid;
 +                      err = f(dev, &vlan.obj);
                        if (err)
                                return err;
 -                      memset(vlan, 0, sizeof(*vlan));
 +                      memset(&vlan, 0, sizeof(vlan));
                }
        }
  
diff --cc net/tipc/msg.h
Simple merge
diff --cc net/tipc/node.c
Simple merge