Re: net/ncsi: prevent memory leak in ncsi_rsp_handler_gc

Markus Elfring
2019-09-27T13:40:45Z

> > > In ncsi_rsp_handler_gc if allocation for nc->vlan_filter.vids fails the
> > > allocated memory for nc->mac_filter.addrs should be released.
…
> The problem is that just by traversing the code using tools
> like ctags or elixir I couldn't find any caller to ncsi_rsp_handler_gc
> that handles such errnos.

Would you like to collaborate with higher level source code analysis tools?

How do you think about to add the tag “Fixes” here?

Regards,
Markus