Displaying 6 results from an estimated 6 matches for "d1b2f306".
2015 Mar 09
2
[PATCH] 9p/trans_virtio: fix hot-unplug
...t it seems better than use-after-free that we have now.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
net/9p/trans_virtio.c | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index d8e376a..d1b2f306 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
static void p9_virtio_remove(struct virtio_device *vdev)
{
struct virtio_chan *chan = vdev->priv;
-
- if (chan->inuse)
- p9_vir...
2015 Mar 09
2
[PATCH] 9p/trans_virtio: fix hot-unplug
...t it seems better than use-after-free that we have now.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
net/9p/trans_virtio.c | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index d8e376a..d1b2f306 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
static void p9_virtio_remove(struct virtio_device *vdev)
{
struct virtio_chan *chan = vdev->priv;
-
- if (chan->inuse)
- p9_vir...
2015 Mar 12
0
[PATCH] 9p/trans_virtio: fix hot-unplug
...all incoming requests.
4) When refcount hits 0, free the structure.
Thanks,
Rusty.
> ---
> net/9p/trans_virtio.c | 25 +++++++++++++++++++++----
> 1 file changed, 21 insertions(+), 4 deletions(-)
>
> diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
> index d8e376a..d1b2f306 100644
> --- a/net/9p/trans_virtio.c
> +++ b/net/9p/trans_virtio.c
> @@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
> static void p9_virtio_remove(struct virtio_device *vdev)
> {
> struct virtio_chan *chan = vdev->priv;
>...
2015 Mar 12
0
[PATCH] 9p/trans_virtio: fix hot-unplug
...all incoming requests.
4) When refcount hits 0, free the structure.
Thanks,
Rusty.
> ---
> net/9p/trans_virtio.c | 25 +++++++++++++++++++++----
> 1 file changed, 21 insertions(+), 4 deletions(-)
>
> diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
> index d8e376a..d1b2f306 100644
> --- a/net/9p/trans_virtio.c
> +++ b/net/9p/trans_virtio.c
> @@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
> static void p9_virtio_remove(struct virtio_device *vdev)
> {
> struct virtio_chan *chan = vdev->priv;
>...
2015 Mar 12
1
[PATCH] 9p/trans_virtio: fix hot-unplug
...> Rusty.
Right. Will try to do for 4.1.
>
>
> > ---
> > net/9p/trans_virtio.c | 25 +++++++++++++++++++++----
> > 1 file changed, 21 insertions(+), 4 deletions(-)
> >
> > diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
> > index d8e376a..d1b2f306 100644
> > --- a/net/9p/trans_virtio.c
> > +++ b/net/9p/trans_virtio.c
> > @@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
> > static void p9_virtio_remove(struct virtio_device *vdev)
> > {
> > struct virtio_c...
2015 Mar 12
1
[PATCH] 9p/trans_virtio: fix hot-unplug
...> Rusty.
Right. Will try to do for 4.1.
>
>
> > ---
> > net/9p/trans_virtio.c | 25 +++++++++++++++++++++----
> > 1 file changed, 21 insertions(+), 4 deletions(-)
> >
> > diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
> > index d8e376a..d1b2f306 100644
> > --- a/net/9p/trans_virtio.c
> > +++ b/net/9p/trans_virtio.c
> > @@ -658,14 +658,31 @@ p9_virtio_create(struct p9_client *client, const char *devname, char *args)
> > static void p9_virtio_remove(struct virtio_device *vdev)
> > {
> > struct virtio_c...