1. 23 Jul, 2015 28 commits
  2. 22 Jul, 2015 12 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · c5dfd654
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Don't use shared bluetooth antenna in iwlwifi driver for management
          frames, from Emmanuel Grumbach.
      
       2) Fix device ID check in ath9k driver, from Felix Fietkau.
      
       3) Off by one in xen-netback BUG checks, from Dan Carpenter.
      
       4) Fix IFLA_VF_PORT netlink attribute validation, from Daniel Borkmann.
      
       5) Fix races in setting peeked bit flag in SKBs during datagram
          receive.  If it's shared we have to clone it otherwise the value can
          easily be corrupted.  Fix from Herbert Xu.
      
       6) Revert fec clock handling change, causes regressions.  From Fabio
          Estevam.
      
       7) Fix use after free in fq_codel and sfq packet schedulers, from WANG
          Cong.
      
       8) ipvlan bug fixes (memory leaks, missing rcu_dereference_bh, etc.)
          from WANG Cong and Konstantin Khlebnikov.
      
       9) Memory leak in act_bpf packet action, from Alexei Starovoitov.
      
      10) ARM bpf JIT bug fixes from Nicolas Schichan.
      
      11) Fix backwards compat of ANY_LAYOUT in virtio_net driver, from
          Michael S Tsirkin.
      
      12) Destruction of bond with different ARP header types not handled
          correctly, fix from Nikolay Aleksandrov.
      
      13) Revert GRO receive support in ipv6 SIT tunnel driver, causes
          regressions because the GRO packets created cannot be processed
          properly on the GSO side if we forward the frame.  From Herbert Xu.
      
      14) TCCR update race and other fixes to ravb driver from Sergei
          Shtylyov.
      
      15) Fix SKB leaks in caif_queue_rcv_skb(), from Eric Dumazet.
      
      16) Fix panics on packet scheduler filter replace, from Daniel Borkmann.
      
      17) Make sure AF_PACKET sees properly IP headers in defragmented frames
          (via PACKET_FANOUT_FLAG_DEFRAG option), from Edward Hyunkoo Jee.
      
      18) AF_NETLINK cannot hold mutex in RCU callback, fix from Florian
          Westphal.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (84 commits)
        ravb: fix ring memory allocation
        net: phy: dp83867: Fix warning check for setting the internal delay
        openvswitch: allocate nr_node_ids flow_stats instead of num_possible_nodes
        netlink: don't hold mutex in rcu callback when releasing mmapd ring
        ARM: net: fix vlan access instructions in ARM JIT.
        ARM: net: handle negative offsets in BPF JIT.
        ARM: net: fix condition for load_order > 0 when translating load instructions.
        tcp: suppress a division by zero warning
        drivers: net: cpsw: remove tx event processing in rx napi poll
        inet: frags: fix defragmented packet's IP header for af_packet
        net: mvneta: fix refilling for Rx DMA buffers
        stmmac: fix setting of driver data in stmmac_dvr_probe
        sched: cls_flow: fix panic on filter replace
        sched: cls_flower: fix panic on filter replace
        sched: cls_bpf: fix panic on filter replace
        net/mdio: fix mdio_bus_match for c45 PHY
        net: ratelimit warnings about dst entry refcount underflow or overflow
        caif: fix leaks and race in caif_queue_rcv_skb()
        qmi_wwan: add the second QMI/network interface for Sierra Wireless MC7305/MC7355
        ravb: fix race updating TCCR
        ...
      c5dfd654
    • Thomas Graf's avatar
      ip_tunnel: Provide tunnel metadata API for CONFIG_INET=n · 05283187
      Thomas Graf authored
      Account for the configuration FIB_RULES=y && INET=n as FIB_RULES can
      be selected by IPV6 or DECNET without INET.
      
      Fixes: e7030878 ("fib: Add fib rule match on tunnel id")
      Fixes: 3093fbe7 ("route: Per route IP tunnel metadata via lightweight tunnel")
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      05283187
    • Erik Kline's avatar
      ipv6: sysctl to restrict candidate source addresses · 3985e8a3
      Erik Kline authored
      Per RFC 6724, section 4, "Candidate Source Addresses":
      
          It is RECOMMENDED that the candidate source addresses be the set
          of unicast addresses assigned to the interface that will be used
          to send to the destination (the "outgoing" interface).
      
      Add a sysctl to enable this behaviour.
      Signed-off-by: default avatarErik Kline <ek@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3985e8a3
    • hayeswang's avatar
      r8152: support the new RTL8153 chip · fb02eb4a
      hayeswang authored
      Support the new USB gigabit ethernet.
      Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fb02eb4a
    • Roopa Prabhu's avatar
      mpls_iptunnel: fix sparse warn: remove incorrect rcu_dereference · de18547d
      Roopa Prabhu authored
      fix for:
      net/mpls/mpls_iptunnel.c:73:19: sparse: incompatible types in comparison
      expression (different address spaces)
      
      remove incorrect rcu_dereference possibly left over from
      earlier revisions of the code.
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      de18547d
    • David S. Miller's avatar
      Merge branch 'bnx2x-next' · 70c9bb8b
      David S. Miller authored
      Yuval Mintz says:
      
      ====================
      bnx2x: update FW, rebrand and more
      
      This patch series does several things - it updates the bnx2x FW into
      7.12.30 which both contains some small fixes as well as opening the door
      for several new features for the device - mainly vxlan/geneve offloads
      and vlan filtering offload.
      It then adds a new Multi-function mode [BD] which requires this FW in
      order to operate.
      
      In addition, this finally rebrands the driver from a 'broadcom' driver
      into a 'qlogic' driver [although it would still reside under Broadcom's
      tree in the kernel].
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      70c9bb8b
    • Yuval Mintz's avatar
      3a375e3c
    • Yuval Mintz's avatar
      bnx2x: Add MFW dump support · c48f350f
      Yuval Mintz authored
      Devices with up-to-date management FW will be able to store register dumps
      on their persistent storage - in case management FW identifies a fatal
      error it would gather and store such dumps, which could later be retrieved
      using specific debug tools.
      
      This patch adds the necessary part in the driver in order to make the
      feature operational, as well as update users [under debug] during load
      in case their device contains a dump of a previous crash.
      Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
      Signed-off-by: default avatarAriel Elior <Ariel.Elior@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c48f350f
    • Yuval Mintz's avatar
      bnx2x: new Multi-function mode - BD · 230d00eb
      Yuval Mintz authored
      This adds support to a new multi-function mode, enabling driver to
      initialize such devices and correctly interacting with management FW
      for fully utilizing their features.
      Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
      Signed-off-by: default avatarAriel Elior <Ariel.Elior@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      230d00eb
    • Yaniv Rosner's avatar
      bnx2x: Add 84858 phy support · 924c6216
      Yaniv Rosner authored
      This adds support to a new copper phy.
      Signed-off-by: default avatarYaniv Rosner <Yaniv.Rosner@qlogic.com>
      Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      924c6216
    • Yuval Mintz's avatar
      bnx2x: Rebrand from 'broadcom' into 'qlogic' · 4ad79e13
      Yuval Mintz authored
      bnx2x still appears as a Broadcom driver even though the devices it
      utilizes belong to Qlogic for more than a year.
      
      This patch changes the various headers and the device strings to indicate
      the correct ownership of the device.
      Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
      Signed-off-by: default avatarAriel Elior <Ariel.Elior@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4ad79e13
    • Yuval Mintz's avatar
      bnx2x: Utilize FW 7.12.30 · 28311f8e
      Yuval Mintz authored
      This moves bnx2x into using 7.12.30 FW. Said firmware fixes the following:
      
       - Packets from a VF with pvid configured which were sent with a
         different vlan were transmitted instead of being discarded.
      
       - FCoE traffic might not recover after a failue while there's traffic
         to another function.
      
      In addition, this FW opens the door for the driver to implement several
      new features; Specifically, this enhances the device's support for
      encapsulated packets and will allow vxlan/geneve offloads to be added in
      the future, as well as vlan filtering offload.
      Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
      Signed-off-by: default avatarAriel Elior <Ariel.Elior@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      28311f8e