1. 02 Dec, 2016 15 commits
  2. 01 Dec, 2016 5 commits
    • Alexander Duyck's avatar
      ixgbe/ixgbevf: Don't use lco_csum to compute IPv4 checksum · c54cdc31
      Alexander Duyck authored
      In the case of IPIP and SIT tunnel frames the outer transport header
      offset is actually set to the same offset as the inner transport header.
      This results in the lco_csum call not doing any checksum computation over
      the inner IPv4/v6 header data.
      
      In order to account for that I am updating the code so that we determine
      the location to start the checksum ourselves based on the location of the
      IPv4 header and the length.
      
      Fixes: b83e3010 ("ixgbe/ixgbevf: Add support for GSO partial")
      Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c54cdc31
    • Alexander Duyck's avatar
      igb/igbvf: Don't use lco_csum to compute IPv4 checksum · 516165a1
      Alexander Duyck authored
      In the case of IPIP and SIT tunnel frames the outer transport header
      offset is actually set to the same offset as the inner transport header.
      This results in the lco_csum call not doing any checksum computation over
      the inner IPv4/v6 header data.
      
      In order to account for that I am updating the code so that we determine
      the location to start the checksum ourselves based on the location of the
      IPv4 header and the length.
      
      Fixes: e10715d3 ("igb/igbvf: Add support for GSO partial")
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      516165a1
    • allan's avatar
      net: asix: Fix AX88772_suspend() USB vendor commands failure issues · fadf3a28
      allan authored
      The change fixes AX88772_suspend() USB vendor commands failure issues.
      Signed-off-by: default avatarAllan Chou <allan@asix.com.tw>
      Tested-by: default avatarAllan Chou <allan@asix.com.tw>
      Tested-by: default avatarJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fadf3a28
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec · 7bbf91ce
      David S. Miller authored
      Steffen Klassert says:
      
      ====================
      pull request (net): ipsec 2016-12-01
      
      1) Change the error value when someone tries to run 32bit
         userspace on a 64bit host from -ENOTSUPP to the userspace
         exported -EOPNOTSUPP. Fix from Yi Zhao.
      
      2) On inbound, ESN sequence numbers are already in network
         byte order. So don't try to convert it again, this fixes
         integrity verification for ESN. Fixes from Tobias Brunner.
      
      Please pull or let me know if there are problems.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7bbf91ce
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf · 3d2dd617
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter fixes for net
      
      This is a large batch of Netfilter fixes for net, they are:
      
      1) Three patches to fix NAT conversion to rhashtable: Switch to rhlist
         structure that allows to have several objects with the same key.
         Moreover, fix wrong comparison logic in nf_nat_bysource_cmp() as this is
         expecting a return value similar to memcmp(). Change location of
         the nat_bysource field in the nf_conn structure to avoid zeroing
         this as it breaks interaction with SLAB_DESTROY_BY_RCU and lead us
         to crashes. From Florian Westphal.
      
      2) Don't allow malformed fragments go through in IPv6, drop them,
         otherwise we hit GPF, patch from Florian Westphal.
      
      3) Fix crash if attributes are missing in nft_range, from Liping Zhang.
      
      4) Fix arptables 32-bits userspace 64-bits kernel compat, from Hongxu Jia.
      
      5) Two patches from David Ahern to fix netfilter interaction with vrf.
         From David Ahern.
      
      6) Fix element timeout calculation in nf_tables, we take milliseconds
         from userspace, but we use jiffies from kernelspace. Patch from
         Anders K.  Pedersen.
      
      7) Missing validation length netlink attribute for nft_hash, from
         Laura Garcia.
      
      8) Fix nf_conntrack_helper documentation, we don't default to off
         anymore for a bit of time so let's get this in sync with the code.
      
      I know is late but I think these are important, specifically the NAT
      bits, as they are mostly addressing fallout from recent changes. I also
      read there are chances to have -rc8, if that is the case, that would
      also give us a bit more time to test this.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3d2dd617
  3. 30 Nov, 2016 20 commits