Re: sk->data_ready at socket release

Alan Cox (alan@cymru.net)
Tue, 16 Sep 1997 16:35:04 +0100 (BST)


> I'm not familiar with the data_ready callback code, so my question is
> whether the socket and sock release code is supposed to handle the case
> of a waiting for a caller in data_ready to return.

You aren't allowed to wait in the data_ready callback, and you should clear
it before closing the socket.

Alan