sk->data_ready at socket release

Bill Hawes (whawes@star.net)
Tue, 16 Sep 1997 10:55:28 -0400


On the subject of socket release problems, while debugging smbfs I had a
very repeatable oops that looked like a sock structure being released
while someone was in the sk->data_ready callback. The oops occurred
right after closing a socket filehandle.

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.

If it _is_ supposed to handle this, I can try to revert some code to
make a repeatable test case. (The problem went away when I fixed a
different bug.)

Regards,
Bill