allocating an skb in the network bottom half

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

 




Hi,
   I am facing this problem...what i want to do is in one of the tcp
functions (called when an ack is received i.e. i am in the network bottom
half) when a particular condition is satisfied i want to call my function
which is going to send some data. But the problem is when i try to send the
data it  panic's in alloc_skb().
I checked the code and in alloc_skb there is a check where if i am inside an
interrupt then it calls BUG().
So is there a way that i can send some data i.e alloc_skb() while i am
still in the network bottom half or do i just have to wait till it comes out
of that bottom half.

Thanks,
Amit.


--- 

  - Amit
Want to know more about me? Follow this link-> http://amitshah.nav.to/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux