aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2005-04-24 23:13:19 -0400
committerDavid S. Miller <davem@davemloft.net>2005-04-24 23:13:19 -0400
commitaa77d26961fa4ecb11fe4209578dcd62ad15819d (patch)
treeeecfa2fc73643866dc1a6ad4dd415b43b442632f
parentaf191367a752625b9f05a25a9a76c727b9b17cab (diff)
[NET]: Document ->hard_start_xmit() locking in netdevices.txt
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/networking/netdevices.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/networking/netdevices.txt b/Documentation/networking/netdevices.txt
index 1509f3aff968..3c0a5ba614d7 100644
--- a/Documentation/networking/netdevices.txt
+++ b/Documentation/networking/netdevices.txt
@@ -51,6 +51,8 @@ dev->hard_start_xmit:
51 set_multicast_list 51 set_multicast_list
52 Context: BHs disabled 52 Context: BHs disabled
53 Notes: netif_queue_stopped() is guaranteed false 53 Notes: netif_queue_stopped() is guaranteed false
54 Interrupts must be enabled when calling hard_start_xmit.
55 (Interrupts must also be enabled when enabling the BH handler.)
54 Return codes: 56 Return codes:
55 o NETDEV_TX_OK everything ok. 57 o NETDEV_TX_OK everything ok.
56 o NETDEV_TX_BUSY Cannot transmit packet, try later 58 o NETDEV_TX_BUSY Cannot transmit packet, try later