[PATCH for 7.3] conf: Fix heap corruption when hot-adding a lease

2021-05-02 Thread Peter Krempa
Commit 28a86993162f7d2f ( v6.9.0-179-g28a8699316 ) incorrectly replaced VIR_EXPAND_N by g_renew. VIR_EXPAND_N has these two extra effects apart from reallocating memory: 1) The newly allocated memory is zeroed out 2) The number of elements in the array which is passed to VIR_EXPAND_N is

Re: [libvirt PATCH] virnetdevbridge: Ignore EEXIST when adding an entry to fdb

2021-05-02 Thread Laine Stump
On 4/30/21 12:22 PM, Jiri Denemark wrote: When updating entries in a bridge forwarding database (i.e., when macTableManager='libvirt' is configured for the bridge), we may end up in a situation when the entry we want to add is already present. Let's just ignore the error in such a case. This