1. 18 Sep, 2013 5 commits
    • Michael Chan's avatar
      cnic: Fix crash in cnic_bnx2x_service_kcq() · 48a30569
      Michael Chan authored
      commit 104a43ed
          cnic: Use CHIP_NUM macros from bnx2x.h
      
      changed the code to use the bnx2x macro NO_FCOE() to determine if FCoE
      is supported or not.  There is another place in cnic that is still using
      the old method to determine if FCoE is supported or not.  The 2 methods
      may not yield the same result after the network interface is brought down
      and up.  This will cause the crash as cnic_bnx2x_service_kcq() will access
      the uninitialized cp->kcq2.
      
      The fix is to consistently use the same macro CNIC_SUPPORTS_FCOE() which
      uses the bnx2x NO_FCOE() macro.  As a follow-up, we can clean up the code
      to remove the old method as it is no longer needed.
      Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      48a30569
    • Michael Chan's avatar
      bnx2x, cnic, bnx2i, bnx2fc: Fix bnx2i and bnx2fc regressions. · f78afb35
      Michael Chan authored
      commit b9871bcf
          bnx2x: VF RSS support - PF side
      
      changed the configuration of the doorbell HW and it broke iSCSI and FCoE.
      We fix this by making compatible changes to the doorbell address in bnx2i
      and bnx2fc.  For the userspace driver, we need to pass a modified CID
      so that the existing userspace driver will calculate the correct doorbell
      address and continue to work.
      Signed-off-by: default avatarAriel Elior <ariele@broadcom.com>
      Signed-off-by: default avatarEddie Wai <eddie.wai@broadcom.com>
      Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f78afb35
    • David S. Miller's avatar
      Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge · 4bdc9447
      David S. Miller authored
      Included change:
      - fix the Bridge Loop Avoidance component by marking the variables containing
        the VLAN ID with the HAS_TAG flag when needed.
      4bdc9447
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf · 61c5923a
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      The following patchset contains Netfilter fixes for you net tree,
      mostly targeted to ipset, they are:
      
      * Fix ICMPv6 NAT due to wrong comparison, code instead of type, from
        Phil Oester.
      
      * Fix RCU race in conntrack extensions release path, from Michal Kubecek.
      
      * Fix missing inversion in the userspace ipset test command match if
        the nomatch option is specified, from Jozsef Kadlecsik.
      
      * Skip layer 4 protocol matching in ipset in case of IPv6 fragments,
        also from Jozsef Kadlecsik.
      
      * Fix sequence adjustment in nfnetlink_queue due to using the netlink
        skb instead of the network skb, from Gao feng.
      
      * Make sure we cannot swap of sets with different layer 3 family in
        ipset, from Jozsef Kadlecsik.
      
      * Fix possible bogus matching in ipset if hash sets with net elements
        are used, from Oliver Smith.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      61c5923a
    • Sridhar Samudrala's avatar
      vxlan: Avoid creating fdb entry with NULL destination · 2936b6ab
      Sridhar Samudrala authored
      Commit afbd8bae
         vxlan: add implicit fdb entry for default destination
      creates an implicit fdb entry for default destination. This results
      in an invalid fdb entry if default destination is not specified.
      For ex:
        ip link add vxlan1 type vxlan id 100
      creates the following fdb entry
        00:00:00:00:00:00 dev vxlan1 dst 0.0.0.0 self permanent
      
      This patch fixes this issue by creating an fdb entry only if a
      valid default destination is specified.
      Signed-off-by: default avatarSridhar Samudrala <sri@us.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2936b6ab
  2. 17 Sep, 2013 15 commits
  3. 16 Sep, 2013 20 commits