diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-03 14:56:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-13 18:33:26 +0300 |
commit | b95b57dfe7a142bf2446548eb7f49340fd73e78b (patch) | |
tree | 58c1944f31877304b4cfbe4cc2bfb7e3560b6621 /drivers/net/ethernet/qlogic/qed/qed_l2.h | |
parent | e6e337708c22f80824b82d4af645f20715730ad0 (diff) | |
download | linux-b95b57dfe7a142bf2446548eb7f49340fd73e78b.tar.xz |
Revert "qlcnic: Avoid potential NULL pointer dereference"
This reverts commit 5bf7295fe34a5251b1d241b9736af4697b590670.
Because of recent interactions with developers from @umn.edu, all
commits from them have been recently re-reviewed to ensure if they were
correct or not.
Upon review, this commit was found to be incorrect for the reasons
below, so it must be reverted. It will be fixed up "correctly" in a
later kernel change.
This commit does not properly detect if an error happens because the
logic after this loop will not detect that there was a failed
allocation.
Cc: Aditya Pakki <pakki001@umn.edu>
Cc: David S. Miller <davem@davemloft.net>
Fixes: 5bf7295fe34a ("qlcnic: Avoid potential NULL pointer dereference")
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210503115736.2104747-25-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_l2.h')
0 files changed, 0 insertions, 0 deletions