Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1629430
| From | Jiri Pirko <jiri@resnulli.us> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net] team: fix memory leaks |
| Date | 2017-04-24 13:10 +0200 |
| Message-ID | <tzK2u-6io-11@gated-at.bofh.it> (permalink) |
| References | <tzJzs-5R1-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Mon, Apr 24, 2017 at 12:29:16PM CEST, bianpan2016@163.com wrote:
>In functions team_nl_send_port_list_get() and
>team_nl_send_options_get(), pointer skb keeps the return value of
>nlmsg_new(). When the call to genlmsg_put() fails, the memory is not
>freed(). This will result in memory leak bugs.
>
>Fixes: 9b00cf2d1024 ("team: implement multipart netlink messages for options transfers")
>Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net] team: fix memory leaks Pan Bian <bianpan2016@163.com> - 2017-04-24 12:40 +0200 Re: [PATCH net] team: fix memory leaks Jiri Pirko <jiri@resnulli.us> - 2017-04-24 13:10 +0200
csiph-web