Hi Greg,

this fixes 2.4 kaweth for the new rules of freeing skbs.
Could you please send Marcelo this patch. I am getting
bug reports about this.

        Regards
                Oliver

You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.

===================================================================


[EMAIL PROTECTED], 2003-01-01 17:26:34+01:00, [EMAIL PROTECTED]
  - correct freeing of skbs


 kaweth.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


diff -Nru a/drivers/usb/kaweth.c b/drivers/usb/kaweth.c
--- a/drivers/usb/kaweth.c      Wed Jan  1 17:27:41 2003
+++ b/drivers/usb/kaweth.c      Wed Jan  1 17:27:41 2003
@@ -691,7 +691,7 @@
                kaweth_dbg("%s: TX status %d.", kaweth->net->name, urb->status);
 
        netif_wake_queue(kaweth->net);
-       dev_kfree_skb(skb);
+       dev_kfree_skb_irq(skb);
 }
 
 /****************************************************************
@@ -709,7 +709,7 @@
        if (kaweth->removed) {
        /* our device is undergoing disconnection - we bail out */
                spin_unlock(&kaweth->device_lock);
-               dev_kfree_skb(skb);
+               dev_kfree_skb_irq(skb);
                return 0;
        }
 
@@ -721,7 +721,7 @@
                /* no such luck - we make our own */
                struct sk_buff *copied_skb;
                copied_skb = skb_copy_expand(skb, 2, 0, GFP_ATOMIC);
-               dev_kfree_skb_any(skb);
+               dev_kfree_skb_irq(skb);
                skb = copied_skb;
                if (!copied_skb) {
                        kaweth->stats.tx_errors++;
@@ -751,7 +751,7 @@
                kaweth->stats.tx_errors++;
 
                netif_start_queue(net);
-               dev_kfree_skb(skb);
+               dev_kfree_skb_irq(skb);
        }
        else
        {

===================================================================


This BitKeeper patch contains the following changesets:
1.870
## Wrapped with gzip_uu ##


begin 664 bkpatch24939
M'XL(`/X6$SX``[U4VXK;,!1\CKY"L"\MB^US=+$<EY2TF]*6%AI2]CDXLC8.
M3JQ4<G9;\,=7CDO*0C;T1HW@8)W1:#0:=$5OO7'YR&XW]\:1*_K.^C;\FL8V
M)J[LSFPWS>%K;-TZ-!?6AF;23R?#BF151ZTSQB<'OXI8+$B`S8M65S1T?3["
MF)]FVF][DX\6;][>?GRU(&0RH3=5T:S-9]/2R82LZFEY,-NX=K:H^AV[4[MC
M``@2D'&1`NM``<HN566A!(>QE*)$@\3OO9EZHYUI^_7QH7Y,P9`Q!8RG7'8H
MA.1D1C'.%%#@"6`8%%7.TIR+:\`<@`ZGG)[S@UXCC8"\IG^O^X9H&E%MG3.Z
MI7?!STVSIO:.^GKER0>*,F-C,O]I%XE^\R,$"B`OZ;Z_B*FWQ?Z'W":(+%U_
MR.,5)G7Q8-HJUH/R##DJ&;1W(FB%CK-49SA6NBP5&H67_'F2E@=BQ)1)X)W(
M)+)C%,ZA^U3\8\5D[<QZ.C!INWN2B2&``!FBHCJA0FR.46'\<5)D#OQ7DB)H
M)/Y+4@8_/]'(/1Q'N/GY66O_($&S="PHDO=#&97F?EGW"I9A[^7&?7D6ZO,7
M9*:0];"AC"[@V)%N*)=P<L#)R[C3,Z,KHVM_V$W&FANQDAGY#HGJ=CSF!```
`
end



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to