diff options
author | hayeswang <hayeswang@realtek.com> | 2017-01-26 01:38:34 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 04:41:55 (GMT) |
commit | 4242f0bce47e744d28b3c98c34f5c792fefb62ef (patch) | |
tree | cda3617964075d7ce0e68dd95b3bbcba5cefbb73 /drivers/leds/leds-powernv.c | |
parent | 993ba7ffcf6e0aa5e4b3ed193a99fc8f4e073325 (diff) | |
download | linux-4242f0bce47e744d28b3c98c34f5c792fefb62ef.tar.xz |
r8152: check rx after napi is enabled
[ Upstream commit 7489bdadb7d17d3c81e39b85688500f700beb790 ]
Schedule the napi after napi_enable() for rx, if it is necessary.
If the rx is completed when napi is disabled, the sheduling of napi
would be lost. Then, no one handles the rx packet until next napi
is scheduled.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/leds/leds-powernv.c')
0 files changed, 0 insertions, 0 deletions