> > > How about this. Given mine and Johannes's patches, do you see any > > > problems in the code? Does it break anything? > > > > Yes, as I noted separately. Move the deallocate() call and > > it'll behave though. > > Sorry, but to where (missed that one.) > > A patch would show it better :)
See the attached ... it re-fixes that bug in those recent patches. Now a routine that's not allowed to be called with a thread context can't be called in_interrupt() any longer, even given buggy device drivers that don't disconnect() correctly. - Dave
ref-fixup.patch
Description: Binary data