patch-2.4.10 linux/include/net/sock.h
Next file: linux/include/net/tcp.h
Previous file: linux/include/net/irda/irlmp.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Sep 23 10:31:33 2001
- Orig file:
v2.4.9/linux/include/net/sock.h
- Orig date:
Mon Aug 27 12:41:49 2001
diff -u --recursive --new-file v2.4.9/linux/include/net/sock.h linux/include/net/sock.h
@@ -1245,7 +1245,7 @@
static inline int sock_rcvlowat(struct sock *sk, int waitall, int len)
{
- return (waitall ? len : min(int, sk->rcvlowat, len)) ? : 1;
+ return (waitall ? len : min_t(int, sk->rcvlowat, len)) ? : 1;
}
/* Alas, with timeout socket operations are not restartable.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)