summaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-05-17 15:25:38 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 12:02:00 -0700
commit663dd6dcaf7e95526e469e91f41972a9c0cca30c (patch)
tree819a0fb54725a53e59c4a855f92a4425946f0fcd /drivers/input/joystick
parentea2c00095c022846dd8dfd211de05154d3e4e1b8 (diff)
downloadlinux-663dd6dcaf7e95526e469e91f41972a9c0cca30c.tar.bz2
Connector: Correctly set the error code in case of success when dispatching receive callbacks
The recent changes to the connector code introduced this bug where even when a callback was invoked, we would return an error resulting in double freeing of the skb. This patch fixes this bug. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Cc: stable <stable@kernel.org> [.39] Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/input/joystick')
0 files changed, 0 insertions, 0 deletions