From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next] ax88179_178a: avoid copy of tx tcp packets Date: Thu, 01 Aug 2013 06:52:45 -0700 Message-ID: <1375365165.10515.143.camel@edumazet-glaptop> References: <1375267909-30373-1-git-send-email-ming.lei@canonical.com> <1375267909-30373-5-git-send-email-ming.lei@canonical.com> <1375329066.10515.125.camel@edumazet-glaptop> <1375333461.10515.133.camel@edumazet-glaptop> <1375363300.10515.135.camel@edumazet-glaptop> <1375364992.10515.141.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , Greg Kroah-Hartman , Oliver Neukum , Freddy Xin , Ben Hutchings , Grant Grundler , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ming Lei Return-path: In-Reply-To: <1375364992.10515.141.camel@edumazet-glaptop> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Thu, 2013-08-01 at 06:49 -0700, Eric Dumazet wrote: > From: Eric Dumazet > > ax88179_tx_fixup() has quite complex code trying to push 8 bytes > of control data (len/mss), but fails to do it properly for TCP packets, > incurring an extra copy and point of memory allocation failure. I forgot to say this patch is for net-next, but depends on following fix from net tree being applied. commit 20f0170377264e8449b6987041f0bcc4d746d3ed ("usbnet: do not pretend to support SG/TSO") -- 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