diff options
author | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 08:03:12 +0000 |
---|---|---|
committer | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 08:03:12 +0000 |
commit | 035fe5529ca007d1c45255a3bc71e8ae18c0c374 (patch) | |
tree | 682af599de8a1daf6e0978ded0892e93d98d583b /chromeos | |
parent | 7030324a2d660e5627c3e0d10bf807b625dee31e (diff) | |
download | chromium_src-035fe5529ca007d1c45255a3bc71e8ae18c0c374.zip chromium_src-035fe5529ca007d1c45255a3bc71e8ae18c0c374.tar.gz chromium_src-035fe5529ca007d1c45255a3bc71e8ae18c0c374.tar.bz2 |
Reland r212359: "Delete DeviceController instances before ..."
This CL was reverted speculatively but turned out not to be the culprit.
While the Forwarder class on the device could get deleted when it detected an
error on a socket, the corresponding DeviceController could stick around. This
resulted in an excessive amount of file descriptors staying open that could
make the net_unittests fail.
This CL adds an explicit unmap command that gets sent by the host to the device
right before the host controller gets deleted. When the device receives this
message, it deletes the DeviceController instance corresponding to the port
being unmapped.
BUG=242846
TBR=bulach@chromium.org
Review URL: https://codereview.chromium.org/19790002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos')
0 files changed, 0 insertions, 0 deletions