From: Ben Greear Date: Mon, 25 Apr 2005 03:13:19 +0000 (-0700) Subject: [NET]: Document ->hard_start_xmit() locking in netdevices.txt X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa77d26961fa4ecb11fe4209578dcd62ad15819d;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [NET]: Document ->hard_start_xmit() locking in netdevices.txt Signed-off-by: David S. Miller --- 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: 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