My understanding is every layer is free to use the skb->cb field in any way
they wish but it will not be preserved by the upper layers in the network
stack.
I would like to use the skb->cb in the layer2/bridging code. Are there any
caveats that one should be aware of ?
Santhosh.
_
To debug a problem I added some debugs in the kernel code to print the
address at which a lock is taken, by calling __builtin_return_address(1).
How do I find the symbol (function name) corresponding to the address
printed ?
Apologies if this is an often repeated question here. In that case would
I am suspecting a memory leak in a kernel module that does layer 2
switching of data packets.
In the vmstat -m output the Num and Total keeps going up for the
kmalloc-512..
kmalloc-512 15232 15264512 16
Is this a clear indication of leak in the kernel or can there be false