u-boot/drivers/net
Ye Li 07763ac928 net: fec_mxc: Fix DM driver issue in recv
When using ethernet DM driver, the recv interface has a
change with non-DM interface, that driver needs to set
the packet pointer and provide it to upper layer to process.

In fec driver, the fecmxc_recv functions does not handle the
packet pointer parameter. This may cause crash in upper layer
processing because the packet pointer is not set.

This patch allocates a buffer for the packet pointer and free it
through free_pkt interface.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2018-04-13 15:47:37 -05:00
..
fm blk: Remove various places that do flush cache after read 2017-09-15 08:05:10 -04:00
fsl-mc libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ldpaa_eth driver: net: fsl-mc: flib changes for MC 10.3.0 2017-12-06 14:55:17 -08:00
pfe_eth configs: ls1012a: add pfe configuration for LS1012A 2018-03-22 15:05:31 -05:00
phy net: phy: xilinx_phy: Read phytype using property xlnx,phy-type 2018-04-09 12:14:51 +02:00
8390.h
ag7xxx.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
altera_tse.c fdt: Rename a few functions in fdt_support 2017-06-01 07:03:11 -06:00
altera_tse.h net: altera_tse: add mSG-DMA support 2015-11-12 08:26:59 +08:00
armada100_fec.c Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
armada100_fec.h Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
at91_emac.c gpio: at91_gpio: remove CPU_HAS_PIO3 macro 2017-04-13 14:44:50 -06:00
ax88180.c Remove some merge markers 2016-10-23 18:33:18 -04:00
ax88180.h
ax88796.c
ax88796.h
bcm-sf2-eth-gmac.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
bcm-sf2-eth-gmac.h
bcm-sf2-eth.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
bcm-sf2-eth.h net: move Broadcom SF2 driver to Kconfig 2017-08-07 15:18:30 -05:00
calxedaxgmac.c
cpsw-common.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
cpsw.c drivers: net: cpsw: remove superfluous assignment. 2018-03-22 15:05:32 -05:00
cs8900.c
cs8900.h
davinci_emac.c ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
davinci_emac.h ti816x: Enable ethernet support 2017-06-28 11:43:39 -04:00
dc2114x.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
designware.c NET: designware: fix clock enable 2018-02-26 15:49:26 -06:00
designware.h net: designware: add clock support 2018-01-15 12:05:20 -06:00
dm9000x.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
dm9000x.h
dnet.c
dnet.h
dwc_eth_qos.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
e1000.c net: e1000: Fix e1000_igb semaphore handling 2018-02-26 15:51:36 -06:00
e1000.h net: e1000: add support for writing to EEPROM 2018-02-04 12:00:58 +01:00
e1000_spi.c net: e1000: Fix the build with driver model and SPI EEPROM 2016-08-15 13:34:45 -05:00
eepro100.c net: eepro100: Fix unused variable warning 2017-05-12 08:37:30 -04:00
ep93xx_eth.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ep93xx_eth.h
ethoc.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
fec_mxc.c net: fec_mxc: Fix DM driver issue in recv 2018-04-13 15:47:37 -05:00
fec_mxc.h net: fec_mxc: Driver cleanups 2016-12-16 17:15:27 +01:00
fsl_mcdmafec.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
fsl_mdio.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftgmac100.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
ftgmac100.h
ftmac100.c nds32: ftmac100: Fix write mac addr fail problem. 2017-09-21 10:30:22 +08:00
ftmac100.h
ftmac110.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftmac110.h
gmac_rockchip.c net: gmac_rockchip: Add support for the RK3228 GMAC 2018-01-28 17:12:38 +01:00
Kconfig Migrate CONFIG_DRIVER_TI_CPSW to Kconfig 2018-04-08 23:00:58 -04:00
keystone_net.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
ks8851_mll.c
ks8851_mll.h
lan91c96.c env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() 2017-08-16 08:30:44 -04:00
lan91c96.h
lpc32xx_eth.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
macb.c net: macb: remove superfluous logical constraint 2018-03-22 15:05:32 -05:00
macb.h net: macb: Add support for Xilinx Zynq SoC 2018-01-15 12:05:14 -06:00
Makefile net: Drop CONFIG_ENC28J60 2018-03-22 15:05:32 -05:00
mcffec.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
mcfmii.c net: mii: Changes not made by spatch 2016-08-15 15:29:03 -05:00
mpc8xx_fec.c powercp: mpc8xx: move commproc.h 2018-04-06 16:30:37 -04:00
mvgbe.c net: mvgbe: Fix build error with CONFIG_PHYLIB 2016-11-07 11:28:16 -06:00
mvgbe.h
mvneta.c net: mvneta: support setting hardware address 2018-04-13 15:47:31 -05:00
mvpp2.c net: mvpp2x: add check after calloc 2018-03-22 15:05:28 -05:00
natsemi.c
ne2000.c
ne2000.h
ne2000_base.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
ne2000_base.h
netconsole.c net: Fix buffer overrun error in netconsole 2018-01-15 12:05:14 -06:00
ns8382x.c
pch_gbe.c net: pch_gbe: Add cache maintenance 2017-06-02 14:44:20 -05:00
pch_gbe.h net: pch_gbe: Convert to use DM PCI API 2016-02-05 12:47:23 +08:00
pcnet.c net: pcnet: Fix init on big endian 64 bit 2016-05-31 09:38:11 +02:00
pic32_eth.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
pic32_eth.h drivers: net: Add ethernet driver for Microchip PIC32. 2016-02-01 22:14:02 +01:00
pic32_mdio.c wait_bit: use wait_for_bit_le32 and remove wait_for_bit 2018-01-24 12:03:43 +05:30
ravb.c net: ravb: Add R8A77965 M3N entries 2018-03-05 10:59:37 +01:00
rtl8139.c
rtl8169.c net: rtl8169: remove unneeded definition 2016-12-04 13:55:01 -05:00
sandbox-raw.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
sandbox.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sh_eth.c net: Move enetaddr env access code to env config instead of net config 2018-04-08 23:00:58 -04:00
sh_eth.h net: sh_eth: Unify CONFIG_R8A779[01234] as CONFIG_RCAR_GEN2 2018-01-27 20:38:53 +01:00
smc911x.c net: mii: Fix changes made by spatch 2016-08-15 15:29:03 -05:00
smc911x.h
smc91111.c
smc91111.h Blackfin: Remove 2017-04-05 13:52:01 -04:00
sun8i_emac.c net: sun8i-emac: remove support for old binding 2018-04-04 11:31:35 +05:30
sunxi_emac.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
tsec.c net: tsec: Make live-tree compatible 2018-02-26 15:45:56 -06:00
tsi108_eth.c
uli526x.c net: uli526x: Fix unknown storage size error 2017-05-12 08:37:32 -04:00
vsc7385.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
vsc9953.c drivers: net: vsc9953: Fix bug when PVID is shown for disabled ports only 2016-04-06 08:34:44 -07:00
xilinx_axi_emac.c axi: ethernet: Added support for 64 bit addressing for axi-ethernet 2018-04-09 12:14:50 +02:00
xilinx_emaclite.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
zynq_gem.c net: zynq_gem: Dont run any phy detection logic for GMII case 2018-03-23 09:34:42 +01:00