aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorPeter Korsgaard <[email protected]>2008-07-14 09:07:32 +0200
committerJeff Garzik <[email protected]>2008-07-30 04:43:49 -0400
commit16d78bc255a55d16c0888dde336978d633e80b01 (patch)
tree377b96ddf4439e2f3d775124c22576125ca5c4e3 /net/unix/sysctl_net_unix.c
parentdc56e634c807c6be69be8af919f20a746197b87d (diff)
dm9601: don't do usb transfers of data on stack
dm_{read,write}() were doing USB transfers of data on stack, which isn't allowed. Fix it by kmalloc'ing a temporary buffer. Clean up the error handling for short transfers while we're at it. Signed-off-by: Peter Korsgaard <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions