commit | d86686b5879b5fba57a0fac47d94982cafaa65bb | [log] [tgz] |
---|---|---|
author | Sungtak Lee <taklee@google.com> | Thu Feb 09 10:02:35 2017 -0800 |
committer | Nick Desaulniers <ndesaulniers@google.com> | Thu Feb 09 22:37:57 2017 +0000 |
tree | d564580022e11ba98bdd6b235c8c03dbbda1074c | |
parent | 7a1ab4e2cb16186c224c018981da752fecbe845d [diff] |
media: usb: em28xx: resolve WinTV dualHD plugging/unplugging crash The second adapter has to be removed first because the data structure of the first adapter contains a pointer to the second. If memory of the first adapter is freed before the second adapter is removed the pointer could be corrupted and kernel crashes could follow. Bug: 32669837 Change-Id: Ie3e8d726261e7d88822a5875e89b31e04bef9fce