Skip to contentSkip to conversation

Documentation: add a guideline for hard_start_xmit method not to modify SKB

PATCH Superseded Matti Linnanvuori 2 participants 2 messages Dec 22, 2007 – Jan 12, 2008

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: add a guideline for hard_start_xmit method not to modify SKB

From: Matti Linnanvuori <[email protected]>

Add a guideline for hard_start_xmit method not to
modify SKB.

Signed-off-by: Matti Linnanvuori
<[email protected]>

---

--- a/Documentation/networking/driver.txt 2007-12-22
18:50:28.062169500 +0200
+++ b/Documentation/networking/driver.txt 2007-12-22
19:10:58.726566000 +0200

@@ -74,6 +74,9 @@ Transmit path guidelines:
If you return 1 from the hard_start_xmit method,
you must not keep
any reference to that SKB and you must not attempt
to free it up.

+4) A hard_start_xmit method must not modify the
cloned parts of the
+ SKB.
+
Probing guidelines:

1) Any hardware layer address you obtain for your
device should

Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
http://de.yahoo.com/set

#1 lore raw
Quoted 29 lines · Matti Linnanvuori

From: Matti Linnanvuori <[email protected]>

Add a guideline for hard_start_xmit method not to
modify SKB.

Signed-off-by: Matti Linnanvuori
<[email protected]>

---

--- a/Documentation/networking/driver.txt 2007-12-22
18:50:28.062169500 +0200
+++ b/Documentation/networking/driver.txt 2007-12-22
19:10:58.726566000 +0200

(quoted diff) +0 -0
@@ -74,6 +74,9 @@ Transmit path guidelines:
    If you return 1 from the hard_start_xmit method,

you must not keep
any reference to that SKB and you must not attempt
to free it up.

+4) A hard_start_xmit method must not modify the
cloned parts of the

(quoted diff) +2 -0
+   SKB.
+
 Probing guidelines:
 
 1) Any hardware layer address you obtain for your
Quoted 2 lines

device should

patch is word-wrapped