commit | 4c625a974fb81724e60966b677e47fcba782c950 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Oct 13 14:08:55 2017 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Oct 16 08:24:08 2017 -0400 |
tree | b2d8b4e3a8c3a591c52aff428e55f4f6f469e03a | |
parent | 33d930e59a98fa10a0db9f56c7fa2f21a4aef9b9 [diff] |
SUNRPC: fix a list corruption issue in xprt_release() We remove the request from the receive list before we call xprt_wait_on_pinned_rqst(), and so we need to use list_del_init(). Otherwise, we will see list corruption when xprt_complete_rqst() is called. Reported-by: Emre Celebi <emre@primarydata.com> Fixes: ce7c252a8c741 ("SUNRPC: Add a separate spinlock to protect...") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>