[PATCH for v4.9 LTS 33/86] virtio_console: fix a crash in config_work_handler

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: "G. Campana" [ Upstream commit 8379cadf71c3ee8173a1c6fc1ea7762a9638c047 ] Using control_work instead of config_work as the 3rd argument to container_of results in an invalid portdev pointer. Indeed, the work structure is initialized as below:

[PATCH for v4.9 LTS 33/86] virtio_console: fix a crash in config_work_handler

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: "G. Campana" [ Upstream commit 8379cadf71c3ee8173a1c6fc1ea7762a9638c047 ] Using control_work instead of config_work as the 3rd argument to container_of results in an invalid portdev pointer. Indeed, the work structure is initialized as below: INIT_WORK(>config_work, _work_handler);