aboutsummaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2005-04-24 20:13:19 -0700
committerDavid S. Miller <davem@davemloft.net>2005-04-24 20:13:19 -0700
commitaa77d26961fa4ecb11fe4209578dcd62ad15819d (patch)
treeeecfa2fc73643866dc1a6ad4dd415b43b442632f /Documentation/networking
parentaf191367a752625b9f05a25a9a76c727b9b17cab (diff)
[NET]: Document ->hard_start_xmit() locking in netdevices.txt
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-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 1509f3aff96..3c0a5ba614d 100644
--- a/Documentation/networking/netdevices.txt
+++ b/Documentation/networking/netdevices.txt
@@ -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