mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
3b8b35b2f2
commit
1d6e7f5067
@ -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 { \
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user