1. 06 1月, 2020 5 次提交
    • D
      Merge branch 'WireGuard-bug-fixes-and-cleanups' · 704a0afb
      David S. Miller 提交于
      Jason A. Donenfeld says:
      
      ====================
      WireGuard bug fixes and cleanups
      
      I've been working through some personal notes and also the whole git
      repo history of the out-of-tree module, looking for places where
      tradeoffs were made (and subsequently forgotten about) for old kernels.
      The first two patches in this series clean up those. The first one does
      so in the self-tests and self-test harness, where we're now able to
      expand test coverage by a bit, and we're now cooking away tests on every
      commit to both the wireguard-linux repo and to net-next. The second one
      removes a workaround for a skbuff.h bug that was fixed long ago.
      Finally, the last patch in the series fixes in a bug unearthed by newer
      Qualcomm chipsets running the rmnet_perf driver, which does UDP GRO.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      704a0afb
    • J
      wireguard: socket: mark skbs as not on list when receiving via gro · 736775d0
      Jason A. Donenfeld 提交于
      Certain drivers will pass gro skbs to udp, at which point the udp driver
      simply iterates through them and passes them off to encap_rcv, which is
      where we pick up. At the moment, we're not attempting to coalesce these
      into bundles, but we also don't want to wind up having cascaded lists of
      skbs treated separately. The right behavior here, then, is to just mark
      each incoming one as not on a list. This can be seen in practice, for
      example, with Qualcomm's rmnet_perf driver.
      Signed-off-by: NJason A. Donenfeld <Jason@zx2c4.com>
      Tested-by: NYaroslav Furman <yaro330@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      736775d0
    • J
      wireguard: queueing: do not account for pfmemalloc when clearing skb header · 04d2ea92
      Jason A. Donenfeld 提交于
      Before 8b700862 ("net: Don't copy pfmemalloc flag in __copy_skb_
      header()"), the pfmemalloc flag used to be between headers_start and
      headers_end, which is a region we clear when preparing the packet for
      encryption/decryption. This is a parameter we certainly want to
      preserve, which is why 8b700862 moved it out of there. The code here
      was written in a world before 8b700862, though, where we had to
      manually account for it. This commit brings things up to speed.
      Signed-off-by: NJason A. Donenfeld <Jason@zx2c4.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      04d2ea92
    • J
      wireguard: selftests: remove ancient kernel compatibility code · 9a69a4c8
      Jason A. Donenfeld 提交于
      Quite a bit of the test suite was designed to work with ancient kernels.
      Thankfully we no longer have to deal with this. This commit updates
      things that we can finally update and removes things that we can finally
      remove, to avoid the build-up of the last several years as a result of
      having to support ancient kernels. We can finally rely on suppress_
      prefixlength being available. On the build side of things, the no-PIE
      hack is no longer required, and we can bump some of the tools, repair
      our m68k and i686-kvm support, and get better coverage of the static
      branches used in the crypto lib and in udp_tunnel.
      Signed-off-by: NJason A. Donenfeld <Jason@zx2c4.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9a69a4c8
    • D
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 3b477d6c
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2020-01-04
      
      This series contains updates to the igc driver only.
      
      Sasha does some housekeeping on the igc driver to remove forward
      declarations that are not needed after re-arranging several functions.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b477d6c
  2. 05 1月, 2020 16 次提交
  3. 04 1月, 2020 19 次提交