making syscalls from within an interrupt

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

 



hi list.

assume i have registered my own network interrupt handler.
what if i would want to write(2) the packets values, like flags, to an already open filedescriptor?
i registered the handler as BH (bottom half), and when the handler is called i can do all the usual stuff
like printk(); etc. obviously.

now is it possible to write(2) to a file while the interrupt handling routine is executing?
i tried to do that, but nothing seems to happen. the logfile stays empty.

when calling the log function from init_module() there is no problem with that, and the file gets filled with data.

thanks for your time

_____________________________________________________________________
Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Netsky.A-K!
Kostenfrei fuer alle FreeMail Nutzer. http://f.web.de/?mc=021157


--
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