commit | b6631c6031c746ed004c4221ec0616d7a520f441 | [log] [tgz] |
---|---|---|
author | Navid Emamdoost <navid.emamdoost@gmail.com> | Fri Nov 22 16:17:56 2019 -0600 |
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | Sat Nov 23 18:20:17 2019 -0800 |
tree | 2d1531f02d3b7de5aeca623fda9b3c8795095313 | |
parent | 34c36f4564b8a3339db3ce832a5aaf1871185685 [diff] |
sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook In the implementation of sctp_sf_do_5_2_4_dupcook() the allocated new_asoc is leaked if security_sctp_assoc_request() fails. Release it via sctp_association_free(). Fixes: 2277c7cd75e3 ("sctp: Add LSM hooks") Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>