[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] Mbuff module unloadable
> I use shm_allocate in the init_module and shm_deallocate in the
> cleanup_module. The only one thing (according to me) that may cause
> trouble is that casts are made while using shm_allocate and
> shm_deallocate. Let's have a look at the following code :
How do you access in it user space? Look in /proc/mbuff/regions/NAME_MEM/*
and see whether it is kernel or user space which uses it.
May be you have forgotten to free it from user space.
Best regards,
--
Tomek