[Ocf-linux-users] kernel panic, hifn7751, digests
Brought to you by:
david-m
|
From: John G. <joh...@ta...> - 2008-06-21 00:09:24
|
Folks Between ocf-linux-20060331 and ocf-linux-20071215 something got into the hifn driver which causes a kernel panic under load calculating digests. By pretty much brute force I think I've tracked down what's causing it. The patch kinda speaks for itself but its all related to moving towards a common crypto_copyback function. Reinstating crp->crp_mac rather than using crp->crp_buf and the complexity that entails in crypto_copyback/cuio_copyback seems to fix it. I don't pretend to understand this but it does seem to work for us. As I say, the crash only happens under heavy load and if I have ENABLE_DIGESTS on in the openssl eng_cryptodev.c Just thought I'd let you know or might help someone. Patch and panic signature attached. cheers John Gumb |