diff options
author | Yelena Krivosheev <yelena@marvell.com> | 2017-12-19 17:59:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-29 17:53:49 +0100 |
commit | 646809937c02396f06a38a38ac686eff1b5e85fb (patch) | |
tree | 72224eb180408ea97128e576d398c83d73a6ca2f /drivers/rtc/rtc-tile.c | |
parent | c00802d53ddf3724602c1da0344c6fcaf9001358 (diff) |
net: mvneta: eliminate wrong call to handle rx descriptor error
commit 2eecb2e04abb62ef8ea7b43e1a46bdb5b99d1bf8 upstream.
There are few reasons in mvneta_rx_swbm() function when received packet
is dropped. mvneta_rx_error() should be called only if error bit [16]
is set in rx descriptor.
[gregory.clement@free-electrons.com: add fixes tag]
Fixes: dc35a10f68d3 ("net: mvneta: bm: add support for hardware buffer management")
Signed-off-by: Yelena Krivosheev <yelena@marvell.com>
Tested-by: Dmitri Epshtein <dima@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-tile.c')
0 files changed, 0 insertions, 0 deletions