lkml.org 
[lkml]   [2021]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 166/190] Revert "infiniband: bnxt_re: qplib: Check the return value of send_message"
    Date
    This reverts commit 94edd87a1c59f3efa6fdf4e98d6d492e6cec6173.

    Commits from @umn.edu addresses have been found to be submitted in "bad
    faith" to try to test the kernel community's ability to review "known
    malicious" changes. The result of these submissions can be found in a
    paper published at the 42nd IEEE Symposium on Security and Privacy
    entitled, "Open Source Insecurity: Stealthily Introducing
    Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University
    of Minnesota) and Kangjie Lu (University of Minnesota).

    Because of this, all submissions from this group must be reverted from
    the kernel tree and will need to be re-reviewed again to determine if
    they actually are a valid fix. Until that work is complete, remove this
    change to ensure that no problems are being introduced into the
    codebase.

    Cc: Aditya Pakki <pakki001@umn.edu>
    Cc: Devesh Sharma <devesh.sharma@broadcom.com>
    Cc: Jason Gunthorpe <jgg@mellanox.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    drivers/infiniband/hw/bnxt_re/qplib_sp.c | 5 +++--
    1 file changed, 3 insertions(+), 2 deletions(-)

    diff --git a/drivers/infiniband/hw/bnxt_re/qplib_sp.c b/drivers/infiniband/hw/bnxt_re/qplib_sp.c
    index 049b3576302b..c9cc03e2130c 100644
    --- a/drivers/infiniband/hw/bnxt_re/qplib_sp.c
    +++ b/drivers/infiniband/hw/bnxt_re/qplib_sp.c
    @@ -775,8 +775,9 @@ int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids)
    req.cos0 = cpu_to_le16(cids[0]);
    req.cos1 = cpu_to_le16(cids[1]);

    - return bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp,
    - NULL, 0);
    + bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, NULL,
    + 0);
    + return 0;
    }

    int bnxt_qplib_get_roce_stats(struct bnxt_qplib_rcfw *rcfw,
    --
    2.31.1
    \
     
     \ /
      Last update: 2021-04-21 15:12    [W:4.019 / U:2.376 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site