Blocking I/O with ioctl() to network driver do not work !!!

From: Anthony Guilcher (anthony.guilcher_at_wanadoo.fr)
Date: 06/23/04


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



Relevant Pages

  • [git patches] net driver updates
    ... The only thing of note is sk98lin driver removal. ... AX88796 network driver ... add Socket Ethernet card into pcnet_cs ... Execute the command "make modules". ...
    (Linux-Kernel)
  • Blocking I/O with ioctl() on network driver KO
    ... Is it possible to implement the blocking I/O mechanism ... IOCTLfor a network driver? ... When I kill the first application, the "ifconfig" command finishes ...
    (comp.os.linux.development.system)
  • Re: Linux Firewall/LoadBalancer
    ... The bonding driver originally came from Donald Becker's beowulf patches for ... Build kernel with the bonding driver ... "Bonding driver support" in the "Network device support" section. ... so the bonding driver will automatically load when the bond0 interface is ...
    (Security-Basics)
  • [SPARC] Problem with "Happy Meal" drivers
    ... I also use two network cards handled by your driver: ... # Loadable module support ... Unimplemented SPARC system call 188 ...
    (Linux-Kernel)
  • Re: Cant print to my Windows 98 shared printer from my XP compute
    ... File and Printer service and it allowed me to use the folder sharing feature ... Wizard allowed me to use the existing print driver on the 98 machine. ... built-in printer driver. ... sharing is not working despite have a perfectly working network connection. ...
    (microsoft.public.windowsxp.network_web)