]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix TCP receive code on archs with flush_dcache_page()
authorTrond Myklebust <trondmy@gmail.com>
Thu, 3 Jan 2019 14:04:45 +0000 (09:04 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 8 Jan 2019 17:44:51 +0000 (12:44 -0500)
commit5a8f9412feba8396cc03820b633db63546e02598
treeed35a8545101f3c88de6142f16455e3603a66624
parent33ccefb7c1bdbac55f6369ef38c26acd8b54f6aa
SUNRPC: Fix TCP receive code on archs with flush_dcache_page()

After receiving data into the page cache, we need to call flush_dcache_page()
for the architectures that define it.

Fixes: 92cea4b1584d1 ("SUNRPC: Simplify TCP receive code by switching...")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.20
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtsock.c