Re: SMBFS: recvmsg called within BH (was: Re: One more boobytrap needed for 2.2.15pre ?)

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Mon Feb 28 2000 - 11:29:04 EST


Andris Pavenis wrote:
>
> - this morning I found that connections to WinNT shares were still lost
> (see output of 'dmesg' in attachment)
>
Ok, I made a few tests and it seems:

* samba servers use SMB packet "0x85" for keepalive probes. If the
client answers, then the connection remains active. smbfs supports these
probes.

* WinNT servers do not send such packets. They just disconnect after a
few minutes (*), and it expects that the client will establish a new
connection.

smbfs doesn't create a new connection, and the old connection got killed
--> io error!

(*) you can change the timeout with "net Config Server
/autodisconnect:-1" from the NT server. Just search for "autodisconnect
lanmanserver" on google.

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:20 EST