Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: renesas: rswitch: Fix the output value of quote from rswitch_rx()
[ Upstream commit e05bb97 ] If the RX descriptor doesn't have any data, the output value of quote from rswitch_rx() will be increased unexpectedily. So, fix it. Reported-by: Volodymyr Babchuk <[email protected]> Fixes: 3590918 ("net: ethernet: renesas: Add support for "Ethernet Switch"") Signed-off-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information