* [Qemu-devel] [PATCH] Bug fix: delete the reader entry after queueing an event, not before.
@ 2015-01-19 14:57 Jeremy White
2015-01-19 15:42 ` Marc-André Lureau
0 siblings, 1 reply; 5+ messages in thread
From: Jeremy White @ 2015-01-19 14:57 UTC (permalink / raw)
To: qemu-devel
As far as I can tell, the vreader_remove_reader function is not presently in
use anywhere; I have an upcoming patch set that uses it.
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
---
libcacard/vreader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcacard/vreader.c b/libcacard/vreader.c
index 0315dd8..8b10d6a 100644
--- a/libcacard/vreader.c
+++ b/libcacard/vreader.c
@@ -529,8 +529,8 @@ vreader_remove_reader(VReader *reader)
}
vreader_dequeue(vreader_list, current_entry);
vreader_list_unlock();
- vreader_list_entry_delete(current_entry);
vevent_queue_vevent(vevent_new(VEVENT_READER_REMOVE, reader, NULL));
+ vreader_list_entry_delete(current_entry);
return VREADER_OK;
}
--
1.7.10.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] Bug fix: delete the reader entry after queueing an event, not before.
2015-01-19 14:57 [Qemu-devel] [PATCH] Bug fix: delete the reader entry after queueing an event, not before Jeremy White
@ 2015-01-19 15:42 ` Marc-André Lureau
2015-01-19 16:17 ` Paolo Bonzini
0 siblings, 1 reply; 5+ messages in thread
From: Marc-André Lureau @ 2015-01-19 15:42 UTC (permalink / raw)
To: Jeremy White; +Cc: qemu-devel
On Mon, Jan 19, 2015 at 3:57 PM, Jeremy White <jwhite@codeweavers.com> wrote:
> As far as I can tell, the vreader_remove_reader function is not presently in
> use anywhere; I have an upcoming patch set that uses it.
>
> Signed-off-by: Jeremy White <jwhite@codeweavers.com>
> ---
> libcacard/vreader.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libcacard/vreader.c b/libcacard/vreader.c
> index 0315dd8..8b10d6a 100644
> --- a/libcacard/vreader.c
> +++ b/libcacard/vreader.c
> @@ -529,8 +529,8 @@ vreader_remove_reader(VReader *reader)
> }
> vreader_dequeue(vreader_list, current_entry);
> vreader_list_unlock();
> - vreader_list_entry_delete(current_entry);
> vevent_queue_vevent(vevent_new(VEVENT_READER_REMOVE, reader, NULL));
> + vreader_list_entry_delete(current_entry);
> return VREADER_OK;
> }
>
> --
> 1.7.10.4
>
>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
--
Marc-André Lureau
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] Bug fix: delete the reader entry after queueing an event, not before.
2015-01-19 15:42 ` Marc-André Lureau
@ 2015-01-19 16:17 ` Paolo Bonzini
2015-01-23 13:27 ` Gerd Hoffmann
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2015-01-19 16:17 UTC (permalink / raw)
To: Marc-André Lureau, Jeremy White; +Cc: qemu-devel, Gerd Hoffmann
On 19/01/2015 16:42, Marc-André Lureau wrote:
> On Mon, Jan 19, 2015 at 3:57 PM, Jeremy White <jwhite@codeweavers.com> wrote:
>> As far as I can tell, the vreader_remove_reader function is not presently in
>> use anywhere; I have an upcoming patch set that uses it.
>>
>> Signed-off-by: Jeremy White <jwhite@codeweavers.com>
>> ---
>> libcacard/vreader.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libcacard/vreader.c b/libcacard/vreader.c
>> index 0315dd8..8b10d6a 100644
>> --- a/libcacard/vreader.c
>> +++ b/libcacard/vreader.c
>> @@ -529,8 +529,8 @@ vreader_remove_reader(VReader *reader)
>> }
>> vreader_dequeue(vreader_list, current_entry);
>> vreader_list_unlock();
>> - vreader_list_entry_delete(current_entry);
>> vevent_queue_vevent(vevent_new(VEVENT_READER_REMOVE, reader, NULL));
>> + vreader_list_entry_delete(current_entry);
>> return VREADER_OK;
>> }
>>
>> --
>> 1.7.10.4
>>
>>
>
> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Gerd, are you maintaining libcacard nowadays? If so, can you add an
entry to MAINTAINERS? (And if not, perhaps Marc-André could maintain it...)
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] Bug fix: delete the reader entry after queueing an event, not before.
2015-01-19 16:17 ` Paolo Bonzini
@ 2015-01-23 13:27 ` Gerd Hoffmann
2015-01-23 13:31 ` Paolo Bonzini
0 siblings, 1 reply; 5+ messages in thread
From: Gerd Hoffmann @ 2015-01-23 13:27 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: Jeremy White, Marc-André Lureau, qemu-devel
Hi,
> > Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Gerd, are you maintaining libcacard nowadays? If so, can you add an
> entry to MAINTAINERS? (And if not, perhaps Marc-André could maintain it...)
Well, I know next to nothing about libcacard, and I'd very much prefer
if someone who knows this better that me maintains it, especially as
this is security-sensitive stuff.
The best I could do would be "Odd Fixes" mode for libcacard, i.e.
collect patches from the list, glace over for obviously broken bits, do
a pull request now and then ...
cheers,
Gerd
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] Bug fix: delete the reader entry after queueing an event, not before.
2015-01-23 13:27 ` Gerd Hoffmann
@ 2015-01-23 13:31 ` Paolo Bonzini
0 siblings, 0 replies; 5+ messages in thread
From: Paolo Bonzini @ 2015-01-23 13:31 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: Jeremy White, Marc-André Lureau, qemu-devel
On 23/01/2015 14:27, Gerd Hoffmann wrote:
> Hi,
>
>>> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>>
>> Gerd, are you maintaining libcacard nowadays? If so, can you add an
>> entry to MAINTAINERS? (And if not, perhaps Marc-André could maintain it...)
>
> Well, I know next to nothing about libcacard, and I'd very much prefer
> if someone who knows this better that me maintains it, especially as
> this is security-sensitive stuff.
>
> The best I could do would be "Odd Fixes" mode for libcacard, i.e.
> collect patches from the list, glace over for obviously broken bits, do
> a pull request now and then ...
Jeremy is obviously doing more than odd fixes though!
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-23 13:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 14:57 [Qemu-devel] [PATCH] Bug fix: delete the reader entry after queueing an event, not before Jeremy White
2015-01-19 15:42 ` Marc-André Lureau
2015-01-19 16:17 ` Paolo Bonzini
2015-01-23 13:27 ` Gerd Hoffmann
2015-01-23 13:31 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).