commit | 86c6739eda7d2a03f2db30cbee67a5fb81afa8ba | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Wed Nov 06 08:13:49 2019 +0100 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Thu Nov 07 10:38:07 2019 +0100 |
tree | 2bf5a1081ccd62010fa98aa52e67ced8becd44b4 | |
parent | 99a8efbb6e30b72ac98cecf81103f847abffb1e5 [diff] |
xfrm: Fix memleak on xfrm state destroy We leak the page that we use to create skb page fragments when destroying the xfrm_state. Fix this by dropping a page reference if a page was assigned to the xfrm_state. Fixes: cac2661c53f3 ("esp4: Avoid skb_cow_data whenever possible") Reported-by: JD <jdtxs00@gmail.com> Reported-by: Paul Wouters <paul@nohats.ca> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>