[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170204165451.GU3442@decadent.org.uk>
Date: Sat, 4 Feb 2017 16:54:51 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: netdev@...r.kernel.org
Cc: linux-usb@...r.kernel.org
Subject: [PATCH net 0/4] Fix on-stack USB buffers
Allocating USB buffers on the stack is not portable, and no longer
works on x86_64 (with VMAP_STACK enabled as per default). This
series fixes all the instances I could find where USB networking
drivers do that.
Ben.
Ben Hutchings (4):
pegasus: Use heap buffers for all register access
rtl8150: Use heap buffers for all register access
catc: Combine failure cleanup code in catc_probe()
catc: Use heap buffer for memory size test
drivers/net/usb/catc.c | 56 ++++++++++++++++++++++++++++-------------------
drivers/net/usb/pegasus.c | 29 ++++++++++++++++++++----
drivers/net/usb/rtl8150.c | 34 ++++++++++++++++++++++------
3 files changed, 86 insertions(+), 33 deletions(-)
Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)
Powered by blists - more mailing lists