Trond Myklebust fba91afbec SUNRPC: Fix an Oops due to socket not set up yet...
We can Oops in both xs_udp_send_request() and xs_tcp_send_request() if the
call to xs_sendpages() returns an error due to the socket not yet being
set up.
Deal with that situation by returning a new error: ENOTSOCK, so that we
know to avoid dereferencing transport->sock.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2009-03-11 14:06:41 -04:00
..
2008-12-30 16:51:43 -05:00
2008-12-30 16:51:43 -05:00
2009-02-03 15:20:13 -08:00
2008-03-14 13:42:38 -04:00
2008-10-31 00:54:56 -07:00