Home
last modified time | relevance | path

Searched hist:d1fb5559 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/netlink/
H A Dpolicy.cd1fb5559 Wed Aug 19 14:52:38 CDT 2020 Johannes Berg <johannes.berg@intel.com> netlink: fix state reallocation in policy export

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")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
d1fb5559 Wed Aug 19 14:52:38 CDT 2020 Johannes Berg <johannes.berg@intel.com> netlink: fix state reallocation in policy export

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")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>