sock_sendmsg( ) from tasklet/interrupt context

Nalin Gupta (nalin@impulsesoft.com)
Thu, 20 Mar 2003 12:51:01 +0530


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/


ssage: Jan Dittmer: "Re: Oops with bttv in latest bk"