[NET]: Document ->hard_start_xmit() locking in netdevices.txt
Ben Greear [Mon, 25 Apr 2005 03:13:19 +0000 (20:13 -0700)]
Signed-off-by: David S. Miller <davem@davemloft.net>

Documentation/networking/netdevices.txt

index 1509f3a..3c0a5ba 100644 (file)
@@ -51,6 +51,8 @@ dev->hard_start_xmit:
        set_multicast_list
        Context: BHs disabled
        Notes: netif_queue_stopped() is guaranteed false
+               Interrupts must be enabled when calling hard_start_xmit.
+                (Interrupts must also be enabled when enabling the BH handler.)
        Return codes: 
        o NETDEV_TX_OK everything ok. 
        o NETDEV_TX_BUSY Cannot transmit packet, try later