round #2.
keep track of size (num of elements) in the inpcbtable struct.
passes regress tests.
OK?
Index: netinet/in_pcb.c
===
RCS file: /cvs/src/sys/netinet/in_pcb.c,v
retrieving revision 1.228
diff -u -p -r1.228 in_pcb.c
--- netin
Ignore for now.
A lovely regress/ test exposes a problem in my diff. :)
On Tue, Mar 27, 2018 at 01:11:19PM -0400, David Hill wrote:
> Hello -
>
> The hash tables are allocated with hashinit, so free them with hashfree.
> This gives the bonus of calling free() with a size as well.
>
Hello -
The hash tables are allocated with hashinit, so free them with hashfree.
This gives the bonus of calling free() with a size as well.
OK?
Index: in_pcb.c
===
RCS file: /cvs/src/sys/netinet/in_pcb.c,v
retrieving revision 1.228