diff options
author | Bernard Blackham <bernard@largestprime.net> | 2012-10-21 19:45:00 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-22 20:38:04 (GMT) |
commit | 3d0a2a22c91e58bfe933115d63cdce60ad2b3a11 (patch) | |
tree | 73c1fdcac0186bcadb54124a94d92d6b971f7c9b /samples | |
parent | c7f0089931dfaefba81001c88449250867582ba6 (diff) | |
download | linux-fsl-qoriq-3d0a2a22c91e58bfe933115d63cdce60ad2b3a11.tar.xz |
staging: usbip: Don't leak struct file.
usbip takes a reference on a struct file which is passed in via
sysfs. Previously, this reference was never cleaned up, although
the socket it referred to was.
This patch drops the corresponding reference (found with the
socket's ->file backpointer) instead of just closing the socket.
Signed-off-by: Bernard Blackham <b-linuxgit@largestprime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions