Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322457 > unrolled thread

Re: [PATCH v2 1/4] USB: mxu11x0: fix memory leak on usb_serial private data

Started byMathieu OTHACEHE <m.othacehe@gmail.com>
First post2016-01-30 18:50 +0100
Last post2016-01-30 18:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 1/4] USB: mxu11x0: fix memory leak on usb_serial  private data Mathieu OTHACEHE <m.othacehe@gmail.com> - 2016-01-30 18:50 +0100

#1322457 — Re: [PATCH v2 1/4] USB: mxu11x0: fix memory leak on usb_serial private data

FromMathieu OTHACEHE <m.othacehe@gmail.com>
Date2016-01-30 18:50 +0100
SubjectRe: [PATCH v2 1/4] USB: mxu11x0: fix memory leak on usb_serial private data
Message-ID<qWHOO-7mY-15@gated-at.bofh.it>
On Mon, Jan 25, 2016 at 01:01:59PM +0100, Johan Hovold wrote:
> On Mon, Jan 04, 2016 at 07:49:36PM +0100, Mathieu OTHACEHE wrote:
> > On nominal execution, private data allocated on port_probe and attach
> > are never freed. Add port_remove and release callbacks to free them
> > respectively.
> > 
> > Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
> 
> I've applied this one for 4.5-rc2 now.
> 
> I want to take a closer look at the last three patches and it seems they
> should wait for 4.6 anyway. I did notice that the vendor driver also
> sends double START/OPEN commands at open by the way. Perhaps ask Moxa
> why that is before we remove them?
> 
> Thanks,
> Johan

Hi Johan,

I asked MOXA about this double opening. I also noticed that the
mainline driver ti_usb_3410_5052 uses the same double opening pattern.
And, MOXA UPORT 11x0 serie is based on TUSB3410 chip of TI.

So, I also emailed TI, and the authors of ti_usb_3410_5052 driver.

I keep you informed,

Thank you

Mathieu

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web