Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/xen/xen



On 12/08/11 04:34, Cherry G. Mathew wrote:
Module Name:    src
Committed By:   cherry
Date:           Thu Dec  8 03:34:48 UTC 2011

Modified Files:
        src/sys/arch/xen/xen: evtchn.c

Log Message:
kmem_free() the appropriate size.

Thanks cegger@

This is still not enough: In pirq_establish() you allocate
sizeof(struct pintrhand) but in event_remove_handler you free
sizeof(struct intrhand).
And sizeof(struct pintrhand) != sizeof(intrhand).

We need a ih_size field to track the right size.

Christoph




Home | Main Index | Thread Index | Old Index