From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [PATCH net-next 02/14] net: cdc_ncm: use device rx_max value if update failed Date: Thu, 18 Oct 2012 23:45:50 +0200 Message-ID: <3426241.1WN6uXHlgW@linux-lqwf.site> References: <1350592867-25651-1-git-send-email-bjorn@mork.no> <1350592867-25651-3-git-send-email-bjorn@mork.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Greg Kroah-Hartman , Alexey Orishko , Greg Suarez , "Fangxiaozhi (Franko)" , Dan Williams , Aleksander Morgado To: =?ISO-8859-1?Q?Bj=F8rn?= Mork Return-path: In-Reply-To: <1350592867-25651-3-git-send-email-bjorn-yOkvZcmFvRU@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Thursday 18 October 2012 22:40:55 Bj=F8rn Mork wrote: > If the device refuses our updated value, then we must be prepared > to receive URBs as big as the device wants to send. Set rx_max > to the device provided value on error. Problematic in principle. How do you allocate a buffer of arbitrary siz= e? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html