Re: [PATCH] security/keys: correct handling of key->serial collisions

2007-02-09 Thread Matt Mitchell
Following myself up...looks like David Howells already fixed this in a commit from Tuesday. The patch I posted is actually a diff against that, which I didn't notice until now. Whoops and nevermind. I will pursue with appropriate folks stable backports for anyone running 2.6.18 or 2.6.19

[PATCH] security/keys: correct handling of key->serial collisions

2007-02-09 Thread Matt Mitchell
The randomized key->serial choice algorithm introduced in 2.6.18 exposed some bugs in the handling of collisions in the rbtree of allocated key->serials. Collisions then resulted in eventual kernel oopses (due to rbtree corruption) once cleanup was attempted. This patch corrects the colli