Project

General

Profile

Actions

Bug #14868

closed

SMB reconnect fails when previous session still disconnecting

Added by Gordon Ross 2 months ago. Updated 13 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cifs - CIFS server and client
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
racktop:BSR-9839

Description

If a client is fast enough coming back in for a reconnect after their connection drops, they can race with the tear-down of their old session, which can cause odd failures like not finding their durable handles during the reconnect.
It's non-trivial to reproduce, but happens on a fast machine & network if you do enough disconnect/reconnects (I think it happened when there was a network stack bug causing TCP drops fairly frequently.)

Actions

Also available in: Atom PDF