[openib-general] SDP sk_data_ready() callback

Libor Michalek libor at topspin.com
Mon Jun 27 11:35:21 PDT 2005


On Wed, Jun 22, 2005 at 10:39:43AM +0200, Arne Redlich wrote:
> Hi,
> 
> I'm trying to use SDP from within the kernel. My problem is that the
> code relies on sk_data_ready() (this callback is modified to wake up a
> Rx thread before executing the original function), but sk_data_ready()
> apparently never gets called. Is there any way to fix this?

  You mean that you replace sk->sk_data_ready, with a similar but
slightly modified version and so rely on sk->sk_data_ready() being
called?

  You're right it's currently not being called, instead we're calling
the function to which it's pointing directly, and for no real reason.
Also, the function that's being called is a duplicate of the function
sock_def_readable() in net/sock.c. I'll look at correcting these
issues.

-Libor



More information about the general mailing list