linux/drivers/net/ethernet/qlogic
Greg Kroah-Hartman b95b57dfe7 Revert "qlcnic: Avoid potential NULL pointer dereference"
This reverts commit 5bf7295fe3.

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: 5bf7295fe3 ("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>
2021-05-13 17:33:26 +02:00
..
netxen netxen_nic: switch from 'pci_' to 'dma_' API 2021-01-15 16:41:29 -08:00
qed qed: Fix fall-through warnings for Clang 2021-03-10 12:45:15 -08:00
qede qede: Use 'skb_add_rx_frag()' instead of hand coding it 2021-04-05 11:59:33 -07:00
qlcnic Revert "qlcnic: Avoid potential NULL pointer dereference" 2021-05-13 17:33:26 +02:00
Kconfig qed: select CONFIG_CRC32 2021-01-05 15:50:36 -08:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c net/qla3xxx: switch from 'pci_' to 'dma_' API 2021-01-18 20:26:21 -08:00
qla3xxx.h net/qla3xxx: Convert to SPDX license identifiers 2020-09-16 14:32:31 +02:00