diff options
author | jdp <jdp@FreeBSD.org> | 2002-07-24 03:02:43 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2002-07-24 03:02:43 +0000 |
commit | 86b3836232069126cbad3fccd52778f5adc4a676 (patch) | |
tree | 23efb20689613024e75cb76a8367533e47d49173 /sys/sys/resourcevar.h | |
parent | ccc9f3815e7af0c92ecbd5c93328262a5a5f246e (diff) | |
download | FreeBSD-src-86b3836232069126cbad3fccd52778f5adc4a676.zip FreeBSD-src-86b3836232069126cbad3fccd52778f5adc4a676.tar.gz |
Widen struct sockbuf's sb_timeo member to int from short. With
non-default but reasonable values of hz this member overflowed,
breaking NFS over UDP.
Also, as long as I'm plowing up struct sockbuf ... Change certain
members from u_long/long to u_int/int in order to reduce wasted
space on 64-bit machines. This change was requested by Andrew
Gallatin.
Netstat and systat need to be rebuilt. I am incrementing
__FreeBSD_version in case any ports need to change.
Diffstat (limited to 'sys/sys/resourcevar.h')
-rw-r--r-- | sys/sys/resourcevar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h index 8344c91..e9dff02 100644 --- a/sys/sys/resourcevar.h +++ b/sys/sys/resourcevar.h @@ -111,7 +111,7 @@ void addupc_task(struct kse *ke, uintptr_t pc, u_int ticks); void calcru(struct proc *p, struct timeval *up, struct timeval *sp, struct timeval *ip); int chgproccnt(struct uidinfo *uip, int diff, int max); -int chgsbsize(struct uidinfo *uip, u_long *hiwat, u_long to, +int chgsbsize(struct uidinfo *uip, u_int *hiwat, u_int to, rlim_t max); int fuswintr(void *base); struct plimit |