STABLE14-free-packet-avoid-issue-with-34-jumbograms-20070104

try to deal with rainer toebbicke's ongoing issue


(cherry picked from commit fd4a1c1c32)
This commit is contained in:
Derrick Brashear 2007-01-05 04:58:55 +00:00
parent 3b8b35b2f2
commit 1d6e7f5067
2 changed files with 2 additions and 6 deletions

View File

@ -201,6 +201,8 @@ EXT struct rx_queue rx_freePacketQueue;
if ((p)->flags & RX_PKTFLAG_FREE) \
osi_Panic("rx packet already free\n"); \
(p)->flags |= RX_PKTFLAG_FREE; \
(p)->length = 0; \
(p)->niovecs = 0; \
} while(0)
#define RX_FPQ_MARK_USED(p) \
do { \

View File

@ -393,12 +393,6 @@ rxi_FreePackets(int num_pkts, struct rx_queue * q)
rxi_FreeDataBufsTSFPQ(c, 1, 0);
}
} else {
for (queue_Scan(q, c, nc, rx_packet)) {
rxi_FreeDataBufsTSFPQ(c, 1, 0);
}
}
if (num_pkts) {
RX_TS_FPQ_CHECKIN2(rx_ts_info, num_pkts, q);
}