zephyr/drivers/ethernet
Sebastien Griffoul 4b70134d1a eth_dw: fix buffer leak when RX frames are too large
When an ethernet frame is larger than UIP_BUFSIZE,
a net_buf is allocated but never released. Therefore
after few bad frames, no more RX network packet
can be received.

Fixed by allocating the net_buf after checking
the frame length.

Change-Id: I436487e3c26d739de347b4db6facc3a3dbebbe75
Signed-off-by: Sebastien Griffoul <sebastien.griffoul@intel.com>
2016-03-31 23:18:17 +00:00
..
Kconfig eth: dw: Add driver for Synopsys DesignWare Ethernet MAC 2016-02-05 20:24:38 -05:00
Makefile eth_dw: fix compilation issue in eth_dw.c driver 2016-02-05 20:25:31 -05:00
eth_dw.c eth_dw: fix buffer leak when RX frames are too large 2016-03-31 23:18:17 +00:00
eth_dw_priv.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
ethernet.h eth: dw: Add driver for Synopsys DesignWare Ethernet MAC 2016-02-05 20:24:38 -05:00