From: Volker Lendecke Date: Wed, 19 Jun 2019 20:00:25 +0000 (+0200) Subject: smbd: Cancel smbd_smb1_do_locks requests in reply_ntcancel X-Git-Tag: ldb-2.0.5~311 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3284bef3536328ff4ae965b5f34cec8ee9b8a3a;p=thirdparty%2Fsamba.git smbd: Cancel smbd_smb1_do_locks requests in reply_ntcancel Last link to the specialized brlock queue Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index ab8110bb359..38d5b1f428b 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -1405,7 +1405,7 @@ void reply_ntcancel(struct smb_request *req) srv_cancel_sign_response(xconn); found = remove_pending_change_notify_requests_by_mid(sconn, req->mid); if (!found) { - remove_pending_lock_requests_by_mid_smb1(sconn, req->mid); + smbd_smb1_brl_finish_by_mid(sconn, req->mid); } DEBUG(3,("reply_ntcancel: cancel called on mid = %llu.\n",