rx-cleanup-20010924
authorNickolai Zeldovich <kolya@mit.edu>
Mon, 24 Sep 2001 11:44:32 +0000 (11:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 24 Sep 2001 11:44:32 +0000 (11:44 +0000)
commit7a214c2bc13d4d18e534fcc933cae5ba1c34f83c
tree76f3c6f02b85cb8b249ca3c8d5fb073835c75629
parent7d317a0e27dc64a2f4629577a6420273f69be047
rx-cleanup-20010924

The rxi_ReceiveAckPacket() change makes sure we have two extra fields
(the max and recommended packet sizes) hanging off the packet, rather
than just one.

The PKTFLAG_FREE stuff in rx_packet.c just initialized flags in case
PKTFLAG_ACKED somehow didn't get cleared there.

The wirevec changes are off-by-1 errors: there's p->niovecs iovecs
in a packet, from 0 (header) to p->niovecs-1, so p->niovecs doesn't
refer to a meaningful iovec.
src/rx/rx.c
src/rx/rx_packet.c