linux/drivers/net/ethernet/stmicro/stmmac
Kweh, Hock Leong a2cd64f301 net: stmmac: fix maxmtu assignment to be within valid range
There is no checking valid value of maxmtu when getting it from
device tree. This resolution added the checking condition to
ensure the assignment is made within a valid range.

Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-08 18:20:41 -05:00
..
Kconfig Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
Makefile net: stmmac: Add OXNAS Glue Driver 2016-11-03 15:31:33 -04:00
altr_tse_pcs.c net: ethernet: Fix SGMII unable to switch speed and autonego failure 2016-11-15 12:06:24 -05:00
altr_tse_pcs.h net: ethernet: Add TSE PCS support to dwmac-socfpga 2016-07-10 22:07:50 -07:00
chain_mode.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
common.h net: stmmac: simplify the common DMA init API 2016-12-08 13:07:10 -05:00
descs.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-22 13:27:16 -05:00
descs_com.h net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
dwmac-generic.c net: stmmac: dwmac-generic: add missing compatible strings 2016-12-08 11:35:37 -05:00
dwmac-ipq806x.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-lpc18xx.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-meson.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-meson8b.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-oxnas.c net: stmmac: dwmac-oxnas: use generic pm implementation 2017-01-03 09:33:00 -05:00
dwmac-rk.c net: ethernet: stmmac: dwmac-rk: make clk enablement first in powerup 2016-12-21 13:25:39 -05:00
dwmac-socfpga.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-03 12:29:53 -05:00
dwmac-sti.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-03 12:29:53 -05:00
dwmac-stm32.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac-sunxi.c net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
dwmac4.h net: stmmac: enable tx queue 0 for gmac4 IPs synthesized with multiple TX queues 2016-11-29 19:10:47 -05:00
dwmac4_core.c net: stmmac: unify mdio functions 2016-12-03 15:23:51 -05:00
dwmac4_descs.c stmmac: fix memory barriers 2016-12-19 11:05:02 -05:00
dwmac4_descs.h stmmac: fix PTP support for GMAC4 2016-11-15 19:56:17 -05:00
dwmac4_dma.c net: smmac: allow configuring lower pbl values 2016-12-08 13:07:10 -05:00
dwmac4_dma.h stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4_lib.c stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac100.h stmmac: share reset function between dwmac100 and dwmac1000 2016-03-02 14:21:30 -05:00
dwmac100_core.c stmmac: CSR clock configuration fix 2016-12-23 11:46:37 -05:00
dwmac100_dma.c net: stmmac: simplify the common DMA init API 2016-12-08 13:07:10 -05:00
dwmac1000.h net: stmmac: dwmac1000: fix define DMA_BUS_MODE_RPBL_MASK 2016-12-08 13:07:10 -05:00
dwmac1000_core.c stmmac: CSR clock configuration fix 2016-12-23 11:46:37 -05:00
dwmac1000_dma.c net: smmac: allow configuring lower pbl values 2016-12-08 13:07:10 -05:00
dwmac_dma.h stmmac: rework DMA bus setting and introduce new platform AXI structure 2016-03-02 14:21:30 -05:00
dwmac_lib.c stmmac: share reset function between dwmac100 and dwmac1000 2016-03-02 14:21:30 -05:00
enh_desc.c stmmac: fix memory barriers 2016-12-19 11:05:02 -05:00
mmc.h stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
mmc_core.c stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
norm_desc.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
ring_mode.c net: ethernet: stmmac: change dma descriptors to __le32 2016-11-15 22:05:54 -05:00
stmmac.h net: ethernet: stmmac: remove private tx queue lock 2016-12-10 23:26:54 -05:00
stmmac_ethtool.c net: stmmac: stmmac_platform: use correct setup function for gmac4 2016-12-08 11:35:37 -05:00
stmmac_hwtstamp.c stmmac: fix PTP support for GMAC4 2016-11-15 19:56:17 -05:00
stmmac_main.c net: stmmac: fix maxmtu assignment to be within valid range 2017-01-08 18:20:41 -05:00
stmmac_mdio.c net: stmmac: fix incorrect bit set in gmac4 mdio addr register 2016-12-27 12:28:08 -05:00
stmmac_pci.c net: stmmac: fix maxmtu assignment to be within valid range 2017-01-08 18:20:41 -05:00
stmmac_pcs.h drivers: net: stmmac: reworking the PCS code. 2016-06-28 08:54:23 -04:00
stmmac_platform.c net: smmac: allow configuring lower pbl values 2016-12-08 13:07:10 -05:00
stmmac_platform.h net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks 2016-12-02 10:42:47 -05:00
stmmac_ptp.c stmmac: fix PTP support for GMAC4 2016-11-15 19:56:17 -05:00
stmmac_ptp.h stmmac: update the PTP header file 2016-11-15 19:56:17 -05:00