]> 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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 15:07:02 +0000 (10:07 -0500)
commit2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478
treec17a5d52ac023e720cf7d57d479e0ac1a0524df3
parentd41149145f98fe26dcd0bfd1d6cc095e6e041418
catc: Use heap buffer for memory size test

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>
drivers/net/usb/catc.c