Messages in this thread | | | Date | Tue, 21 Nov 2023 11:20:38 +0000 | Subject | Re: [PATCH v2] dpll: Fix potential msg memleak when genlmsg_put_reply failed | From | Vadim Fedorenko <> |
| |
On 21/11/2023 20:37, Hao Ge wrote: > We should clean the skb resource if genlmsg_put_reply failed. > > Fixes: 9d71b54b65b1 ("dpll: netlink: Add DPLL framework base functions") > Signed-off-by: Hao Ge <gehao@kylinos.cn> > --- > v1 -> v2: change title due to add some similar fix for some similar cases > --- > drivers/dpll/dpll_netlink.c | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-)
Thanks!
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
| |