diff options
author | Yauheni Kaliuta <yauheni.kaliuta@nokia.com> | 2011-04-05 16:55:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-13 15:44:01 -0700 |
commit | 505d1f69ec4f8697a74711fb3a01ed151fda3834 (patch) | |
tree | 5bbf4c66b5906d2e7f0031b42f1fa70d3763b7e9 /block/blk-core.c | |
parent | 5a9443f08c83c294c5c806a689c1184b27cb26b3 (diff) |
usb: gadget: eem: fix echo command processing
During processing of bunch of eem frames if "echo" command is found
skb is cloned and the cloned version should be used to send reply.
Unfortunately, the data of the original skb were actually used and
the cloned skb is never freed.
Using the cloned skb and freeing the skb in the completion callback
for usb request.
Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@nokia.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions