Blocking I/O with ioctl() to network driver do not work !!!
From: Anthony Guilcher (anthony.guilcher_at_wanadoo.fr)
Date: 06/23/04
- Next message: ulisses_at_pusa.informat.uv.es: "rlimit and resource limits"
- Previous message: Vikram: "Re: Unresolved symbols & kernel mismatch ........."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Jun 2004 08:07:53 -0700
Hi,
Is it possible to implement the blocking I/O mechanism
(interruptible_sleep_on() & wake_up_interruptible()) with
IOCTL(my_blocking_ioctl) for a network driver ?
I need to receive IP message from IP stack directly by the network
driver.
My application uses a blocking ioctl. It is deblocked by the network
driver when a message occurs from the stack.
But if I execute "ifconfig" command, it is also blocked on
ioctl(SIOCGIFADDR).
When I kill the first application, the "ifconfig" command finishes
correctly.
Thanks in advance.
Anthony
- Next message: ulisses_at_pusa.informat.uv.es: "rlimit and resource limits"
- Previous message: Vikram: "Re: Unresolved symbols & kernel mismatch ........."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|