• Ye Li's avatar
    MLK-16369 eth: fec: Fix DM driver issue in recv · 058a6b25
    Ye Li authored
    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: 's avatarYe Li <ye.li@nxp.com>
    Reviewed-by: 's avatarPeng Fan <peng.fan@nxp.com>
    058a6b25
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
cmd Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...