]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Use the discard iterator rather than MSG_TRUNC
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 3 Dec 2018 20:58:58 +0000 (15:58 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 5 Dec 2018 12:11:12 +0000 (07:11 -0500)
commit7cefb099bbfae68419aa8862c740a9f5bf5855d0
tree4ac7143b63ba04f02b3dc2c10ede09553f5540ae
parent99b7c9462264c78d2ef45b916dfccd0195dec2ee
SUNRPC: Use the discard iterator rather than MSG_TRUNC

When discarding message data from the stream, we're better off using
the discard iterator, since that will work with non-TCP streams.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c