Herbert Xu wrote: > Hi Patrick: > > On Mon, Apr 28, 2008 at 08:55:21PM +0200, Patrick McHardy wrote: >> I ran into occasional BUGs in scatterlist.h, which turned >> out the be caused by accessing an uninitialized scatterlist >> entry from eseqiv. I'm not sure whether this patch is correct >> since I'm seeing invalid packets with and without this patch >> (probably related to HIFN though) and I don't understand why >> scatterwalk_sg_next() returns either a scatterlist or a >> struct page dependant on the length, but at least it fixes >> the BUG() for me :) > > Can you attach the BUG output please? I've attached two traces, the one from eseqiv and a similar one from authenc (I've manually overriden eseqiv by chainiv to test whether its responsible for the broken packets I was seeing, which turned out to be the case. I'll look into that).