1. 10 9月, 2020 2 次提交
  2. 24 8月, 2020 1 次提交
  3. 21 7月, 2020 1 次提交
  4. 17 7月, 2020 1 次提交
  5. 07 7月, 2020 2 次提交
  6. 23 6月, 2020 4 次提交
  7. 14 6月, 2020 1 次提交
    • M
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada 提交于
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  8. 26 5月, 2020 1 次提交
  9. 12 5月, 2020 1 次提交
  10. 05 3月, 2020 1 次提交
  11. 21 2月, 2020 1 次提交
  12. 12 2月, 2020 1 次提交
    • K
      RDMA/iw_cxgb4: initiate CLOSE when entering TERM · d219face
      Krishnamraju Eraparaju 提交于
      As per draft-hilland-iwarp-verbs-v1.0, sec 6.2.3, always initiate a CLOSE
      when entering into TERM state.
      
      In c4iw_modify_qp(), disconnect operation should only be performed when
      the modify_qp call is invoked from ib_core. And all other internal
      modify_qp calls(invoked within iw_cxgb4) that needs 'disconnect' should
      call c4iw_ep_disconnect() explicitly after modify_qp. Otherwise, deadlocks
      like below can occur:
      
       Call Trace:
        schedule+0x2f/0xa0
        schedule_preempt_disabled+0xa/0x10
        __mutex_lock.isra.5+0x2d0/0x4a0
        c4iw_ep_disconnect+0x39/0x430    => tries to reacquire ep lock again
        c4iw_modify_qp+0x468/0x10d0
        rx_data+0x218/0x570              => acquires ep lock
        process_work+0x5f/0x70
        process_one_work+0x1a7/0x3b0
        worker_thread+0x30/0x390
        kthread+0x112/0x130
        ret_from_fork+0x35/0x40
      
      Fixes: d2c33370 ("RDMA/iw_cxgb4: Always disconnect when QP is transitioning to TERMINATE state")
      Link: https://lore.kernel.org/r/20200204091230.7210-1-krishna2@chelsio.comSigned-off-by: NKrishnamraju Eraparaju <krishna2@chelsio.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      d219face
  13. 16 1月, 2020 1 次提交
  14. 17 11月, 2019 2 次提交
  15. 29 10月, 2019 2 次提交
  16. 19 10月, 2019 1 次提交
  17. 05 10月, 2019 1 次提交
  18. 01 10月, 2019 1 次提交
  19. 12 8月, 2019 1 次提交
  20. 04 7月, 2019 1 次提交
  21. 21 6月, 2019 1 次提交
  22. 12 6月, 2019 2 次提交
  23. 11 6月, 2019 3 次提交
  24. 03 6月, 2019 1 次提交
  25. 28 5月, 2019 3 次提交
  26. 21 5月, 2019 1 次提交
  27. 03 5月, 2019 1 次提交
  28. 28 4月, 2019 1 次提交
    • M
      netlink: make nla_nest_start() add NLA_F_NESTED flag · ae0be8de
      Michal Kubecek 提交于
      Even if the NLA_F_NESTED flag was introduced more than 11 years ago, most
      netlink based interfaces (including recently added ones) are still not
      setting it in kernel generated messages. Without the flag, message parsers
      not aware of attribute semantics (e.g. wireshark dissector or libmnl's
      mnl_nlmsg_fprintf()) cannot recognize nested attributes and won't display
      the structure of their contents.
      
      Unfortunately we cannot just add the flag everywhere as there may be
      userspace applications which check nlattr::nla_type directly rather than
      through a helper masking out the flags. Therefore the patch renames
      nla_nest_start() to nla_nest_start_noflag() and introduces nla_nest_start()
      as a wrapper adding NLA_F_NESTED. The calls which add NLA_F_NESTED manually
      are rewritten to use nla_nest_start().
      
      Except for changes in include/net/netlink.h, the patch was generated using
      this semantic patch:
      
      @@ expression E1, E2; @@
      -nla_nest_start(E1, E2)
      +nla_nest_start_noflag(E1, E2)
      
      @@ expression E1, E2; @@
      -nla_nest_start_noflag(E1, E2 | NLA_F_NESTED)
      +nla_nest_start(E1, E2)
      Signed-off-by: NMichal Kubecek <mkubecek@suse.cz>
      Acked-by: NJiri Pirko <jiri@mellanox.com>
      Acked-by: NDavid Ahern <dsahern@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ae0be8de