Re: [PATCH net,stable] usbnet: ignore endpoints with invalid wMaxPacketSize

2019-09-21 Thread Jakub Kicinski
On Sat, 21 Sep 2019 14:54:03 +0200, Bjørn Mork wrote: > Jakub Kicinski writes: > > On Wed, 18 Sep 2019 14:17:38 +0200, Bjørn Mork wrote: > >> Endpoints with zero wMaxPacketSize are not usable for transferring > >> data. Ignore such endpoints when looking for valid in, out and > >> status pipes,

Re: [PATCH net,stable] usbnet: ignore endpoints with invalid wMaxPacketSize

2019-09-21 Thread Bjørn Mork
Jakub Kicinski writes: > On Wed, 18 Sep 2019 14:17:38 +0200, Bjørn Mork wrote: >> Endpoints with zero wMaxPacketSize are not usable for transferring >> data. Ignore such endpoints when looking for valid in, out and >> status pipes, to make the drivers more robust against invalid and >> meaningles

Re: [PATCH net,stable] usbnet: ignore endpoints with invalid wMaxPacketSize

2019-09-20 Thread Jakub Kicinski
On Wed, 18 Sep 2019 14:17:38 +0200, Bjørn Mork wrote: > Endpoints with zero wMaxPacketSize are not usable for transferring > data. Ignore such endpoints when looking for valid in, out and > status pipes, to make the drivers more robust against invalid and > meaningless descriptors. > > The wMaxPac

[PATCH net,stable] usbnet: ignore endpoints with invalid wMaxPacketSize

2019-09-18 Thread Bjørn Mork
Endpoints with zero wMaxPacketSize are not usable for transferring data. Ignore such endpoints when looking for valid in, out and status pipes, to make the drivers more robust against invalid and meaningless descriptors. The wMaxPacketSize of these endpoints are used for memory allocations and as