Re: [PATCH] netlink: fix policy dump leak

2020-10-02 Thread David Miller
From: Johannes Berg Date: Fri, 2 Oct 2020 09:46:04 +0200 > From: Johannes Berg > > If userspace doesn't complete the policy dump, we leak the > allocated state. Fix this. > > Fixes: d07dcf9aadd6 ("netlink: add infrastructure to expose policies to > userspace") > Signed-off-by: Johannes Berg

Re: [PATCH] netlink: fix policy dump leak

2020-10-02 Thread Johannes Berg
On Fri, 2020-10-02 at 08:29 -0700, Jakub Kicinski wrote: > On Fri, 2 Oct 2020 09:46:04 +0200 Johannes Berg wrote: > > From: Johannes Berg > > > > If userspace doesn't complete the policy dump, we leak the > > allocated state. Fix this. > > > > Fixes: d07dcf9aadd6 ("netlink: add infrastructure t

Re: [PATCH] netlink: fix policy dump leak

2020-10-02 Thread Jakub Kicinski
On Fri, 2 Oct 2020 09:46:04 +0200 Johannes Berg wrote: > From: Johannes Berg > > If userspace doesn't complete the policy dump, we leak the > allocated state. Fix this. > > Fixes: d07dcf9aadd6 ("netlink: add infrastructure to expose policies to > userspace") > Signed-off-by: Johannes Berg Re

[PATCH] netlink: fix policy dump leak

2020-10-02 Thread Johannes Berg
From: Johannes Berg If userspace doesn't complete the policy dump, we leak the allocated state. Fix this. Fixes: d07dcf9aadd6 ("netlink: add infrastructure to expose policies to userspace") Signed-off-by: Johannes Berg --- Found this while looking at Jakub's series and the complete op dump tha