Hi,

I am looking for a way to test whether I am running in a bottom half context
or user context.  There are kernel functions which may be called from both
user and bottom half contex.  For eg, tcp_transmit_skb, may be called from
user context for first time transmission of a packet or from the timer
bottom half in case of retransmission.  Is there a way to check within that
function whether it is currently running in user / bottom half context?

Any hints greatly appreciated !

Regards,

Reply via email to