commit | e6194923237f3952b955c343b65b211f36bce01c | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Thu Jul 13 09:13:30 2017 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Thu Jul 13 09:26:24 2017 +0200 |
tree | 09b07a46cad63c3e9ebef5a4c605e2fe73c0cd87 | |
parent | edaf3825182958a1fd5e39708fcb6ea48eca2060 [diff] |
esp: Fix memleaks on error paths. We leak the temporary allocated resources in error paths, fix this by freeing them. Fixes: fca11ebde3f ("esp4: Reorganize esp_output") Fixes: 383d0350f2c ("esp6: Reorganize esp_output") Fixes: 3f29770723f ("ipsec: check return value of skb_to_sgvec always") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>