Re: [PATCH v2] netlink: fix state reallocation in policy export

2020-08-19 Thread David Miller
From: Johannes Berg Date: Wed, 19 Aug 2020 21:52:38 +0200 > From: Johannes Berg > > Evidently, when I did this previously, we didn't have more than > 10 policies and didn't run into the reallocation path, because > it's missing a memset() for the unused policies. Fix that. > > Fixes: d07dcf9aa

[PATCH v2] netlink: fix state reallocation in policy export

2020-08-19 Thread Johannes Berg
From: Johannes Berg Evidently, when I did this previously, we didn't have more than 10 policies and didn't run into the reallocation path, because it's missing a memset() for the unused policies. Fix that. Fixes: d07dcf9aadd6 ("netlink: add infrastructure to expose policies to userspace") Signe