Hi,
this is the 2.5 version of the 2.4 fix
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:39:24+01:00, [EMAIL PROTECTED]
- proper freeing of skbs
kaweth.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff -Nru a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c
--- a/drivers/usb/net/kaweth.c Wed Jan 1 17:40:01 2003
+++ b/drivers/usb/net/kaweth.c Wed Jan 1 17:40:01 2003
@@ -703,7 +703,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);
}
/****************************************************************
@@ -721,7 +721,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;
}
@@ -733,7 +733,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++;
@@ -763,7 +763,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.1151
## Wrapped with gzip_uu ##
begin 664 bkpatch25135
M'XL(`.$9$SX``[U476O;,!1]CG[%A;YL%-NZDB7''A[9VK&-#18R^AS\H=C!
MB97)3MN!?_QD&U("J6$9S`BNK7MT='1T\`T\-,I$,[W;/BI#;N"+;EK[J6I=
M*[?4>[7;UL=G5YO"-E=:VZ;73WOC"B^MG-8HU7C')F6"6-`R:;,2;*^)9NCR
MTTS[^Z"BV>K3YX?O'U:$Q#'<E4E=J)^JA3@F:;7(CVKG5D8G9;]?=VIWC%)$
M9()R(5%T;,ZYWZ&D:6Y?<Q:$FU2&9%2TN*3]G(LA8R&&R#EV7##!R3V@BR@0
M*/<HV@$81#R,F']+,:(4)KCA%L&AY"/\^PGN2`8.'(P^*`,;:^NV+D!OH*G2
MAGP#+J6/9/GB&W'^\B&$)I2\OR`U-_T!AVOTJN1)M:6;O:CV:<AHQ]D<>2>E
MS)'Z29HE*'(YG_+FC+96[1DUIVCI)0^9WS$I`CF$XK45ES-RO6Q2&%4L1J9,
M[R>5]H&9TX`%@G9,V.P,@1'\NKCXX/C_(RZCIS_`,4_#L->_?-7>*Z)T'U`)
M2+Z.99:KQW75JUC;_==;\^N-K6_?61CS!]A09A,X/M(-90HG1YR<QIU^/%FI
5LJHY[F-?9;E@&R1_`/K(_,'V!```
`
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