]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/networking/driver.txt
Documentation/email-clients.txt: add some info about gmail
[linux-2.6-omap-h63xx.git] / Documentation / networking / driver.txt
index 11fd0ef5ff5747762670cb52ffdfcad59606c5df..ea72d2e66ca81a62fa493b695ed0e5cf94fc92a4 100644 (file)
@@ -1,7 +1,4 @@
-Documents about softnet driver issues in general can be found
-at:
-
-       http://www.firstfloor.org/~andi/softnet/
+Document about softnet driver issues
 
 Transmit path guidelines:
 
@@ -40,7 +37,7 @@ Transmit path guidelines:
                ...
        }
 
-   And then at the end of your TX reclaimation event handling:
+   And then at the end of your TX reclamation event handling:
 
        if (netif_queue_stopped(dp->dev) &&
             TX_BUFFS_AVAIL(dp) > (MAX_SKB_FRAGS + 1))
@@ -64,7 +61,10 @@ Transmit path guidelines:
 2) Do not forget to update netdev->trans_start to jiffies after
    each new tx packet is given to the hardware.
 
-3) Do not forget that once you return 0 from your hard_start_xmit
+3) A hard_start_xmit method must not modify the shared parts of a
+   cloned SKB.
+
+4) Do not forget that once you return 0 from your hard_start_xmit
    method, it is your driver's responsibility to free up the SKB
    and in some finite amount of time.