linux-uconsole/drivers/usb/usbip
Shuah Khan a909d246e0 usbip: keep usbip_device sockfd state in sync with tcp_socket
commit 009f41aed4 upstream.

Keep usbip_device sockfd state in sync with tcp_socket. When tcp_socket
is reset to null, reset sockfd to -1 to keep it in sync.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:38 +01:00
..
Kconfig
Makefile
README
stub.h
stub_dev.c usbip: keep usbip_device sockfd state in sync with tcp_socket 2018-02-25 11:03:38 +01:00
stub_main.c usbip: stub: stop printing kernel pointer addresses in messages 2018-01-02 20:33:26 +01:00
stub_rx.c usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input 2018-01-31 12:06:12 +01:00
stub_tx.c usbip: stub: stop printing kernel pointer addresses in messages 2018-01-02 20:33:26 +01:00
usbip_common.c usbip: prevent leaking socket pointer address in messages 2018-01-31 12:06:12 +01:00
usbip_common.h usbip: prevent vhci_hcd driver from leaking a socket pointer address 2018-01-31 12:06:07 +01:00
usbip_event.c usb: usbip: Fix possible deadlocks reported by lockdep 2018-01-31 12:06:11 +01:00
usbip_protocol.txt
vhci.h
vhci_hcd.c usbip: keep usbip_device sockfd state in sync with tcp_socket 2018-02-25 11:03:38 +01:00
vhci_rx.c usb: usbip: Fix possible deadlocks reported by lockdep 2018-01-31 12:06:11 +01:00
vhci_sysfs.c usbip: fix 3eee23c3ec14 tcp_socket address still in the status file 2018-02-16 20:09:36 +01:00
vhci_tx.c usb: usbip: Fix possible deadlocks reported by lockdep 2018-01-31 12:06:11 +01: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>