I am implementing a transport protocol in Linux which is parallel
to tcp and udp.
I have a server which is blocked at the accept statement. For
blocking, I have used:
interruptible_sleep_on(sk->sleep);
When the server recieves a connect_request message from the
client, the execution of server is transferred to sendctl function which
will send connect_ack message to client thro ip_build_xmit function.
In sendctl function, I am calling sockfd_lookup(fd,NULL) which is
returning NULL. Ideally, sockfd_lookup should return a pointer to
appropriate struct socket. Can anyone suggest me a fix for this?
I hope the problem is clear and would appreciate if you can help
me.
Thanks,
-Sandip
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]