mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nalin Gupta <nalin@impulsesoft.com>
To: linux-kernel@vger.kernel.org
Cc: linux-net@vger.kernel.org
Subject: sock_sendmsg( ) from tasklet/interrupt context
Date: Thu, 20 Mar 2003 12:51:01 +0530	[thread overview]
Message-ID: <5.2.0.9.0.20030320124211.00a90270@mail.impulsesoft.com> (raw)

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


                 reply	other threads:[~2003-03-20  6:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.2.0.9.0.20030320124211.00a90270@mail.impulsesoft.com \
    --to=nalin@impulsesoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®