summaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-03-28 15:54:11 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2018-04-13 23:47:37 +0300
commit07763ac9282f8d72c0f1e7d6c863a107997cbc3e (patch)
tree89fb25c9691ced06841a617bd41a80df5614c735 /include/netdev.h
parent0a85f024c5e84ccaf3b908f0b1d381f5ecf89602 (diff)
downloadu-boot-07763ac9282f8d72c0f1e7d6c863a107997cbc3e.tar.xz
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>
Diffstat (limited to 'include/netdev.h')
0 files changed, 0 insertions, 0 deletions