android_kernel_lge_bullhead/drivers/net/team
Pan Bian f63d10b98d team: fix memory leaks
commit 72ec0bc64b9a5d8e0efcb717abfc757746b101b7 upstream.

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: 9b00cf2d10 ("team: implement multipart netlink messages for options transfers")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-11-02 10:46:02 +01:00
..
Kconfig team: introduce random mode 2013-03-06 14:55:20 -05:00
Makefile team: introduce random mode 2013-03-06 14:55:20 -05:00
team.c team: fix memory leaks 2017-11-02 10:46:02 +01:00
team_mode_activebackup.c team: ab: set active port option as changed when port is leaving 2013-02-04 14:55:45 -05:00
team_mode_broadcast.c team: introduce two default team_modeop functions and use them in modes 2013-03-06 14:55:20 -05:00
team_mode_loadbalance.c team: add netpoll support 2012-07-17 09:02:36 -07:00
team_mode_random.c team: check return value of team_get_port_by_index_rcu() for NULL 2013-06-12 00:56:27 -07:00
team_mode_roundrobin.c team: check return value of team_get_port_by_index_rcu() for NULL 2013-06-12 00:56:27 -07:00