sock_sendmsg( ) from tasklet/interrupt context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux