commit 86c6739eda7d2a03f2db30cbee67a5fb81afa8ba Author: Steffen Klassert <email address hidden> Date: Wed Nov 6 08:13:49 2019 +0100
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 <email address hidden> Reported-by: Paul Wouters <email address hidden> Signed-off-by: Steffen Klassert <email address hidden>
This commit will be automatically picked by later kernel update since it has "Fixes" tag.
commit 86c6739eda7d2a0 3f2db30cbee67a5 fb81afa8ba
Author: Steffen Klassert <email address hidden>
Date: Wed Nov 6 08:13:49 2019 +0100
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 <email address hidden>
Reported-by: Paul Wouters <email address hidden>
Signed-off-by: Steffen Klassert <email address hidden>
This commit will be automatically picked by later kernel update since it has "Fixes" tag.