]> git.karo-electronics.de Git - linux-beck.git/commit
catc: Use heap buffer for memory size test
authorBen Hutchings <ben@decadent.org.uk>
Sat, 4 Feb 2017 16:57:04 +0000 (16:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Feb 2017 14:11:42 +0000 (15:11 +0100)
commit970390fd5d53de0817b538350131edd2514a8321
tree366bb46497b48a901859c213a5f57d6c086cf07b
parent61bf9f381c38821004bd514015487852021053a1
catc: Use heap buffer for memory size test

[ Upstream commit 2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478 ]

Allocating USB buffers on the stack is not portable, and no longer
works on x86_64 (with VMAP_STACK enabled as per default).

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/catc.c