]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix data corruption issue on RTL8402
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 1 Oct 2020 07:23:02 +0000 (09:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Oct 2020 19:37:21 +0000 (12:37 -0700)
commitf52646fd2c616b53df8700e588a0ac7dda743b3f
tree1b2157769fa59e53a451534d5d2ccda58cc15140
parent948f5355c2b3d865ab4b4732b7bd68b9c3a3c5a1
r8169: fix data corruption issue on RTL8402

Petr reported that after resume from suspend RTL8402 partially
truncates incoming packets, and re-initializing register RxConfig
before the actual chip re-initialization sequence is needed to avoid
the issue.

Reported-by: Petr Tesarik <ptesarik@suse.cz>
Proposed-by: Petr Tesarik <ptesarik@suse.cz>
Tested-by: Petr Tesarik <ptesarik@suse.cz>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c