Hi,
cdc-ether has the same problem as cdc-acm.
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], 2002-12-19 01:55:37+01:00, [EMAIL PROTECTED]
- usb_submit_urb() under spinlock or in interrupt must use GFP_ATOMIC
cdc-ether.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/usb/net/cdc-ether.c b/drivers/usb/net/cdc-ether.c
--- a/drivers/usb/net/cdc-ether.c Thu Dec 19 01:56:08 2002
+++ b/drivers/usb/net/cdc-ether.c Thu Dec 19 01:56:08 2002
@@ -132,7 +132,7 @@
// Give this to the USB subsystem so it can tell us
// when more data arrives.
- if ( (res = usb_submit_urb(ether_dev->rx_urb, GFP_KERNEL)) ) {
+ if ( (res = usb_submit_urb(ether_dev->rx_urb, GFP_ATOMIC)) ) {
warn("%s failed submint rx_urb %d", __FUNCTION__, res);
}
@@ -302,7 +302,7 @@
ether_dev->tx_urb->transfer_buffer_length = count;
// Send the URB on its merry way.
- if ((res = usb_submit_urb(ether_dev->tx_urb, GFP_KERNEL))) {
+ if ((res = usb_submit_urb(ether_dev->tx_urb, GFP_ATOMIC))) {
// Hmm... It didn't go. Tell someone...
warn("failed tx_urb %d", res);
// update some stats...
===================================================================
This BitKeeper patch contains the following changesets:
1.1124
## Wrapped with gzip_uu ##
begin 664 bkpatch10095
M'XL(`"@9`3X``\U4WV^;,!!^CO^*D_J2J`/\`T.(1)4NZ;IJFQIEZW,4C!-0
M$AP9TW4:?_P,3,DZ1=G6O@R=9'/'???=W2<NX*&4>M13V_Q1:G0![U5I[*LL
M5"'=3.WD-B^J)U?IM0W.E;)!KW%[78:7;!RCI2R]JDPH1_:CV=*(#&RL'/6(
MRPX>\VTO1[WYS>W#Q^LY0G$,DVQ9K.5G:2".4;(9IY7<NANMEEE3KSZ$:XHQ
M(81RS'A`>$V'C/DU"7"2VFM*PVB5!!'J&(U/<7^.10DE$<8LXKSV0T8"-`7B
MV@(^8.H1:Q%@,N)\Q,)+>\$8SF##)0$'H[?P^@XF2(`#=I*+LDIVN5E4.ND/
MH"I2J:'<Y\56B0TH#7EAS4BMJ[V!754:FR3A]MUL<?WE_M/=!'T`?QB2$,V.
M0T;./SX(X25&5R?Z2G4SC7;GWF0ZN3&9U*XX-NGCB.*:!6%`:Q(-AV*U\ID(
M1!3Z_-PHGP$7TG@B%8X\HO]<'.<LK'G(<=3*Z$S2:6&]ACY::[D>=UA"[?Z&
M,;:<&:$-8[N11FJ,O$QH%!SZWPFM6\0]./IK:U8XLW,[>8$.IX1Q(.BN.WKY
M"OK0U[*$^/<>VAJ+5#XZ5_JI\;SYA>Q@``/XCJ8,MVC=T:+]$<R<`!N`!3O\
7WD0FQ::L=K%D*0O#`*,?1G^D35P%````
`
end
-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel