1. 07 7月, 2018 16 次提交
  2. 06 7月, 2018 4 次提交
  3. 05 7月, 2018 8 次提交
  4. 04 7月, 2018 5 次提交
  5. 03 7月, 2018 7 次提交
    • D
      Merge tag 'wireless-drivers-for-davem-2018-07-03' of... · 248c690a
      David S. Miller 提交于
      Merge tag 'wireless-drivers-for-davem-2018-07-03' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
      
      Kalle Valo says:
      
      ====================
      wireless-drivers fixes for 4.18
      
      First set of fixes for 4.18 and for numerous drivers. Something to mention
      about is the wcn36xx fix which makes it possible to compile with gcc older than
      4.4 (though I'm not sure if we even support those anymore).
      
      qtnfmac
      
      * coverity fix for a new commit in v4.18-rc1
      
      rtlwifi
      
      * fix kernel oops during driver removal
      
      * fix firmware image corruption for rtl8821ae
      
      brcmfmac
      
      * fix crash if there's no firmware image
      
      mwifiex
      
      * a revert and a better fix for a new commit v4.18-rc1
      
      mt7601u
      
      * fix a recent regression about unnecessary warning about avg_rssi
      
      wcn36xx
      
      * convert testmode.c to plain ASCII
      
      ath10k
      
      * fix a firmware crash during bandwidth change
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      248c690a
    • H
      r8169: fix mac address change · 2d0ec544
      Heiner Kallweit 提交于
      Network core refuses to change mac address because flag
      IFF_LIVE_ADDR_CHANGE isn't set. Set this missing flag.
      
      Fixes: 1f7aa2bc ("r8169: simplify rtl_set_mac_address")
      Reported-by: NCorinna Vinschen <vinschen@redhat.com>
      Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
      Tested-by: NCorinna Vinschen <vinschen@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d0ec544
    • D
      tls: fix skb_to_sgvec returning unhandled error. · 52ee6ef3
      Doron Roberts-Kedes 提交于
      The current code does not inspect the return value of skb_to_sgvec. This
      can cause a nullptr kernel panic when the malformed sgvec is passed into
      the crypto request.
      
      Checking the return value of skb_to_sgvec and skipping decryption if it
      is negative fixes this problem.
      
      Fixes: c46234eb ("tls: RX path for ktls")
      Acked-by: NDave Watson <davejwatson@fb.com>
      Signed-off-by: NDoron Roberts-Kedes <doronrk@fb.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      52ee6ef3
    • R
      lib: rhashtable: Correct self-assignment in rhashtable.c · c643ecf3
      Rishabh Bhatnagar 提交于
      In file lib/rhashtable.c line 777, skip variable is assigned to
      itself. The following error was observed:
      
      lib/rhashtable.c:777:41: warning: explicitly assigning value of
      variable of type 'int' to itself [-Wself-assign] error, forbidden
      warning: rhashtable.c:777
      This error was found when compiling with Clang 6.0. Change it to iter->skip.
      Signed-off-by: NRishabh Bhatnagar <rishabhb@codeaurora.org>
      Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Reviewed-by: NNeilBrown <neilb@suse.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c643ecf3
    • L
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md · d0fbad0a
      Linus Torvalds 提交于
      Pull MD fixes from Shaohua Li:
       "Two small fixes for MD:
      
         - an error handling fix from me
      
         - a recover bug fix for raid10 from BingJing"
      
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md:
        md/raid10: fix that replacement cannot complete recovery after reassemble
        MD: cleanup resources in failure
      d0fbad0a
    • L
      Merge tag 'for-linus' of git://github.com/stffrdhrn/linux · 8d2b6f6b
      Linus Torvalds 提交于
      Pull OpenRISC fixes from Stafford Horne:
       "Two fixes for issues which were breaking OpenRISC boot:
      
         - Fix bug in __pte_free_tlb() exposed in 4.18 by Matthew Wilcox's
           page table flag addition.
      
         - Fix issue booting on real hardware if delay slot detection
           emulation is disabled"
      
      * tag 'for-linus' of git://github.com/stffrdhrn/linux:
        openrisc: entry: Fix delay slot exception detection
        openrisc: Call destructor during __pte_free_tlb
      8d2b6f6b
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 4e33d7d4
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
      
       1) Verify netlink attributes properly in nf_queue, from Eric Dumazet.
      
       2) Need to bump memory lock rlimit for test_sockmap bpf test, from
          Yonghong Song.
      
       3) Fix VLAN handling in lan78xx driver, from Dave Stevenson.
      
       4) Fix uninitialized read in nf_log, from Jann Horn.
      
       5) Fix raw command length parsing in mlx5, from Alex Vesker.
      
       6) Cleanup loopback RDS connections upon netns deletion, from Sowmini
          Varadhan.
      
       7) Fix regressions in FIB rule matching during create, from Jason A.
          Donenfeld and Roopa Prabhu.
      
       8) Fix mpls ether type detection in nfp, from Pieter Jansen van Vuuren.
      
       9) More bpfilter build fixes/adjustments from Masahiro Yamada.
      
      10) Fix XDP_{TX,REDIRECT} flushing in various drivers, from Jesper
          Dangaard Brouer.
      
      11) fib_tests.sh file permissions were broken, from Shuah Khan.
      
      12) Make sure BH/preemption is disabled in data path of mac80211, from
          Denis Kenzior.
      
      13) Don't ignore nla_parse_nested() return values in nl80211, from
          Johannes berg.
      
      14) Properly account sock objects ot kmemcg, from Shakeel Butt.
      
      15) Adjustments to setting bpf program permissions to read-only, from
          Daniel Borkmann.
      
      16) TCP Fast Open key endianness was broken, it always took on the host
          endiannness. Whoops. Explicitly make it little endian. From Yuching
          Cheng.
      
      17) Fix prefix route setting for link local addresses in ipv6, from
          David Ahern.
      
      18) Potential Spectre v1 in zatm driver, from Gustavo A. R. Silva.
      
      19) Various bpf sockmap fixes, from John Fastabend.
      
      20) Use after free for GRO with ESP, from Sabrina Dubroca.
      
      21) Passing bogus flags to crypto_alloc_shash() in ipv6 SR code, from
          Eric Biggers.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (87 commits)
        qede: Adverstise software timestamp caps when PHC is not available.
        qed: Fix use of incorrect size in memcpy call.
        qed: Fix setting of incorrect eswitch mode.
        qed: Limit msix vectors in kdump kernel to the minimum required count.
        ipvlan: call dev_change_flags when ipvlan mode is reset
        ipv6: sr: fix passing wrong flags to crypto_alloc_shash()
        net: fix use-after-free in GRO with ESP
        tcp: prevent bogus FRTO undos with non-SACK flows
        bpf: sockhash, add release routine
        bpf: sockhash fix omitted bucket lock in sock_close
        bpf: sockmap, fix smap_list_map_remove when psock is in many maps
        bpf: sockmap, fix crash when ipv6 sock is added
        net: fib_rules: bring back rule_exists to match rule during add
        hv_netvsc: split sub-channel setup into async and sync
        net: use dev_change_tx_queue_len() for SIOCSIFTXQLEN
        atm: zatm: Fix potential Spectre v1
        s390/qeth: consistently re-enable device features
        s390/qeth: don't clobber buffer on async TX completion
        s390/qeth: avoid using is_multicast_ether_addr_64bits on (u8 *)[6]
        s390/qeth: fix race when setting MAC address
        ...
      4e33d7d4