From 4138f43dafd94eef065db6ce891c6296c466f9d6 Mon Sep 17 00:00:00 2001 From: Matti Linnanvuori Date: Tue, 15 Jan 2008 06:25:27 -0800 Subject: [PATCH] --- yaml --- r: 75573 b: refs/heads/master c: ce3ba1399d2ba81b3699a82649df0cd8223c6662 h: refs/heads/master i: 75571: fa02afb38db931aa3e9e771acf6a83f71b6a47fc v: v3 --- [refs] | 2 +- trunk/Documentation/networking/driver.txt | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1481e622641b..1a3c05142ea7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: be63a21c9573fbf88106ff0f030da5974551257b +refs/heads/master: ce3ba1399d2ba81b3699a82649df0cd8223c6662 diff --git a/trunk/Documentation/networking/driver.txt b/trunk/Documentation/networking/driver.txt index 4f7da5a2bf4f..ea72d2e66ca8 100644 --- a/trunk/Documentation/networking/driver.txt +++ b/trunk/Documentation/networking/driver.txt @@ -61,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.