[linux-usb-devel] [PATCH] USB ATM: avoid oops on bind failure; plug memory leak

2005-06-27 Thread Greg KH
[PATCH] USB ATM: avoid oops on bind failure; plug memory leak Zero the entire instance, not just the struct usbatm_data head. Make sure the just allocated urb is freed if we fail to allocate a buffer. Based on a patch by Stanislaw W. Gruszka. Signed-off-by: Duncan Sands <[EMAIL PROTECTED]> Acked

Re: [linux-usb-devel] [PATCH] USB ATM: avoid oops on bind failure; plug memory leak

2005-05-27 Thread Greg KH
On Fri, May 27, 2005 at 10:34:22AM -0700, Pete Zaitcev wrote: > On Fri, 27 May 2005 10:00:08 +0200, Duncan Sands <[EMAIL PROTECTED]> wrote: > > > Zero the entire instance, not just the struct usbatm_data head. > > Make sure the just allocated urb is freed if we fail to allocate > > a buffer. Base

Re: [linux-usb-devel] [PATCH] USB ATM: avoid oops on bind failure; plug memory leak

2005-05-27 Thread Pete Zaitcev
On Fri, 27 May 2005 10:00:08 +0200, Duncan Sands <[EMAIL PROTECTED]> wrote: > Zero the entire instance, not just the struct usbatm_data head. > Make sure the just allocated urb is freed if we fail to allocate > a buffer. Based on a patch by Stanislaw W. Gruszka. > > Signed-off-by: Duncan Sands <

[linux-usb-devel] [PATCH] USB ATM: avoid oops on bind failure; plug memory leak

2005-05-27 Thread Duncan Sands
Zero the entire instance, not just the struct usbatm_data head. Make sure the just allocated urb is freed if we fail to allocate a buffer. Based on a patch by Stanislaw W. Gruszka. Signed-off-by: Duncan Sands <[EMAIL PROTECTED]> --- Linux/drivers/usb/atm/usbatm.c.orig 2005-05-27 09:55:36.2401880