Hello
I'm debugging my kernel module, which appears to have a memory corruption, basically a piece of memory allocated by alloc_netdev() for 'net_device' instance has benn corrupted. I'm wondering if I could apply some "read-only" attribute on this memory, this way I expect to have Oops generated when someone tries to modify the memory.
Does it sound reasonable or my ideas are undoable ? Thanks.
Mark