Skip to content
Commit 86c6739e authored by Steffen Klassert's avatar Steffen Klassert
Browse files

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: cac2661c

 ("esp4: Avoid skb_cow_data whenever possible")
Reported-by: default avatarJD <jdtxs00@gmail.com>
Reported-by: default avatarPaul Wouters <paul@nohats.ca>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 99a8efbb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment