sock_sendmsg( ) from tasklet/interrupt context

From: Nalin Gupta (nalin@impulsesoft.com)
Date: Thu Mar 20 2003 - 02:21:01 EST


Friends,

Is it correct to invoke "sock_sendmsg" for UDP
socket, from "net_tx_action" Tasklet context.

I understand that tasklet is interrupt context, for this reason i masked

sock->sk->allocation &= ~__GFP_WAIT;

even tried merely assigned GFP_ATOMIC

It always panic at skb_head_from_pool / __skb_dequeue inline function
called from alloc_skb.

Thanks in advance,

regards,
- nalin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:29 EST