diff options
| author | Tomas Winkler <[email protected]> | 2015-06-18 08:41:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-07-23 04:31:05 +0000 |
| commit | 154322f47376fed6ab1e4b350aa45fffa15a61aa (patch) | |
| tree | e89be0738fb519dc975b6403804d8ed1a2bbc7f0 /net/switchdev/switchdev.c | |
| parent | misc: mic: scif bug fix for vmalloc_to_page crash (diff) | |
| download | kernel-154322f47376fed6ab1e4b350aa45fffa15a61aa.tar.gz kernel-154322f47376fed6ab1e4b350aa45fffa15a61aa.zip | |
mei: prevent unloading mei hw modules while the device is opened.
chrdev_open() increases reference counter on cdev->owner. Instead of
assigning the owner to mei subsystem, the owner has to be set to the
underlaying HW module (mei_me or mei_txe), so once the device is opened
the HW module cannot be unloaded.
Cc: <[email protected]> #3.17+
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Alexander Usyskin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
