linux/drivers/net/ethernet/qlogic
Sudarsana Reddy Kalluru 4f9de4df90 qed: Fix possible memory leak in Rx error path handling.
Memory for packet buffers need to be freed in the error paths as there is
no consumer (e.g., upper layer) for such packets and that memory will never
get freed.
The issue was uncovered when port was attacked with flood of isatap
packets, these are multicast packets hence were directed at all the PFs.
For foce PF, this meant they were routed to the ll2 module which in turn
drops such packets.

Fixes: 0a7fb11c ("qed: Add Light L2 support")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-20 07:15:34 +09:00
..
netxen drivers/net: Fix various unnecessary characters after logging newlines 2018-05-30 13:24:08 -04:00
qed qed: Fix possible memory leak in Rx error path handling. 2018-06-20 07:15:34 +09:00
qede treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
qlcnic treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
qlge treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
Kconfig qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla3xxx.c net: qla3xxx: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:55 -04:00
qla3xxx.h