[OpenAFS-devel] Re: Fileserver (from openafs-server-1.6.5-1.el6.x86_64)
segmentation fault
Garrett Wollman
wollman@csail.mit.edu
Wed, 14 Aug 2013 14:05:57 -0400
<<On Tue, 13 Aug 2013 10:41:35 -0500, Andrew Deason <adeason@sinenomine.net> said:
> This should expand to something like
> for (tcall = ((struct rx_queue*)(&rx_incomingCallQueue))->next,
> ncall = ((struct rx_queue*)tcall)->next;
> tcall != &rx_incomingCallQueue;
> tcall = ncall, ncall = ((struct rx_queue*)tcall)->next)
It's unfortunate that these macros are written in this style; the
casts make program analysis more difficult. (The 4.4BSD queue(3)
macros are much cleaner in this regard, as well as more flexible.)
-GAWollman