OpenAFS CVS Commit: openafs/src/rx by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 18 Oct 2004 01:12:46 EDT


Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1_2_x/src/rx

Modified Files:
      Tag: openafs-stable-1_2_x
	rx_packet.c 
Log Message:
DELTA STABLE12-rx-protect-queue-during-debug-20040601
AUTHOR rtb@pclella.cern.ch
FIXES 4811

"in rx_packet.c:rxi_ReceiveDebugPacket() the rx_idleServerQueue is
scanned without taking a lock first.

The queue_Remove macro zeroes the ->next field (luckily), but this can
lead to a crash when Murphy strikes and the entry gets removed during
the scan: queue_Scan will dereference 0x0 -> next.
"


--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-rx-protect-queue-during-debug-20040601 openafs/src/rx/rx_packet.c 1.14.2.6 1.14.2.7