[openib-general] Re: [PATCH applied] return -ENOPROTOOPT on an unsupported socket option

Michael S. Tsirkin mst at mellanox.co.il
Mon Dec 19 15:05:10 PST 2005


Quoting Tom Duffy <thomas.duffy.99 at alumni.brown.edu>:
> >
> > Make more ltp tests pass: return -ENOPROTOOPT on an unsupported  
> > socket option.
> 
> This one is a bit controversial.  We had the discussion in the past  
> about doing this, but the problem is that some applications won't run  
> if a particular sockopt is not supported on SDP.  Some socket opts  
> don't make much sense on SDP/Infiniband, others work as intended.

Hmm. Which option do you have in mind, specifically?
The right thing, in my eyes, is to emulate a TCP socket.
So we dont want to support options that TCP doesnt support.

-- 
MST



More information about the general mailing list