OpenCloudOS-Kernel/drivers/net/ethernet/samsung/sxgbe
Rasmus Villemoes 79c134239d net: sxgbe: fix error paths in sxgbe_platform_probe()
We need to use post-decrement to ensure that irq_dispose_mapping is
also called on priv->rxq[0]->irq_no; moreover, if one of the above for
loops failed already at i==0 (so we reach one of these labels with
that value of i), we'll enter an essentially infinite loop of
out-of-bounds accesses.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-27 22:39:22 -04:00
..
Makefile sxgbe: remove unused code 2016-02-10 06:10:17 -05:00
sxgbe_common.h net: sxgbe: Added rxqueue enable function 2014-04-30 16:12:22 -04:00
sxgbe_core.c net: sxgbe: Added rxqueue enable function 2014-04-30 16:12:22 -04:00
sxgbe_desc.c net: sxgbe: Added set function for interrupt on complete 2014-04-30 16:12:22 -04:00
sxgbe_desc.h net: sxgbe: Added set function for interrupt on complete 2014-04-30 16:12:22 -04:00
sxgbe_dma.c net: sxgbe: sw reset moved to probe function 2014-04-30 16:12:22 -04:00
sxgbe_dma.h net: sxgbe: add TSO support for Samsung sxgbe 2014-03-26 16:49:31 -04:00
sxgbe_ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
sxgbe_main.c ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
sxgbe_mdio.c phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
sxgbe_mtl.c
sxgbe_mtl.h
sxgbe_platform.c net: sxgbe: fix error paths in sxgbe_platform_probe() 2016-03-27 22:39:22 -04:00
sxgbe_reg.h net: sxgbe: remove duplicate SXGBE_CORE_L34_ADDCTL_REG define 2014-06-11 15:01:30 -07:00