linux/drivers/staging/usbip
Bernard Blackham 3d0a2a22c9 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>
2012-10-22 13:38:04 -07:00
..
userspace staging: usbip: userspace: update man pages for v1.0.0 2012-08-17 09:44:04 -07:00
Kconfig Staging: remove CONFIG_EXPERIMENTAL dependancies 2012-09-17 23:02:36 -07:00
Makefile staging: usbip: edit Kconfig and rename CONFIG options 2011-05-12 09:17:57 -07:00
README staging: usbip: README: we need to document the protocol 2011-06-07 14:08:51 -07:00
stub_dev.c staging: usbip: Don't leak struct file. 2012-10-22 13:38:04 -07:00
stub_main.c staging: usbip: fix to prevent potentially using uninitialized spinlock 2012-02-08 14:14:15 -08:00
stub_rx.c staging: usbip: cleanup of comments 2012-10-22 13:36:29 -07:00
stub_tx.c staging: usbip: cleanup of comments 2012-10-22 13:36:29 -07:00
stub.h staging: usbip: removed unused structure field 2012-02-09 09:42:22 -08:00
usbip_common.c staging: usbip: Don't leak struct file. 2012-10-22 13:38:04 -07:00
usbip_common.h staging: usbip: replaced pointer arithmetic, and strongly type function return. 2012-10-22 13:36:28 -07:00
usbip_event.c staging: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/staging users. 2011-10-31 19:32:08 -04:00
usbip_protocol.txt staging: Fix typo in multiple files 2012-04-10 10:31:01 -07:00
vhci_hcd.c staging: usbip: Don't leak struct file. 2012-10-22 13:38:04 -07:00
vhci_rx.c staging: usbip: cleanup of comments 2012-10-22 13:36:29 -07:00
vhci_sysfs.c staging: usbip: Don't leak struct file. 2012-10-22 13:38:04 -07:00
vhci_tx.c staging: usbip: replaced pointer arithmetic, and strongly type function return. 2012-10-22 13:36:28 -07:00
vhci.h staging: usbip: make rh_port_disconnect static 2012-10-22 13:36:28 -07:00

TODO:
	- more discussion about the protocol
	- testing
	- review of the userspace interface
	- document the protocol

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>