Ronald Bultje wrote:
> On 2001.05.08 01:04:57 +0200 Jesper Juhl wrote:
>
>> static inline int sock_rcvlowat(struct sock *sk, int waitall, int len)
>> {
>> int r = len;
>> if (!waitall)
>> r = min(sk->rcvlowat, len);
>> return max(1,r);
>> }
>>
>
>
>
On 2001.05.08 01:04:57 +0200 Jesper Juhl wrote:
>
> static inline int sock_rcvlowat(struct sock *sk, int waitall, int len)
> {
> int r = len;
> if (!waitall)
> r = min(sk->rcvlowat, len);
> return max(1,r);
> }
>
return max(1, waitall ? len : min(sk-
Hi all,
Some time ago I posted about a question about some cleanup of what I
thought looked like some strange code in the kernel - specifically about
the sock_rcvlowat() function in linux/include/net/sock.h
static inline int sock_rcvlowat(struct sock *sk, int waitall, int len)
{
retu
3 matches
Mail list logo