Displaying 2 results from an estimated 2 matches for "port_in_use".
2013 Jul 29
1
[PATCH v3 1/9] virtio: console: fix race with port unplug and open/close
Amit Shah <amit.shah at redhat.com> writes:
> There's a window between find_port_by_devt() returning a port and us
> taking a kref on the port, where the port could get unplugged. Fix it
> by taking the reference in find_port_by_devt() itself.
>
> Problem reported and analyzed by Mateusz Guzik.
This fix is clearly correct, but what about the other find_port_by_*
2013 Jul 29
1
[PATCH v3 1/9] virtio: console: fix race with port unplug and open/close
Amit Shah <amit.shah at redhat.com> writes:
> There's a window between find_port_by_devt() returning a port and us
> taking a kref on the port, where the port could get unplugged. Fix it
> by taking the reference in find_port_by_devt() itself.
>
> Problem reported and analyzed by Mateusz Guzik.
This fix is clearly correct, but what about the other find_port_by_*