Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: cac2661 ("esp4: Avoid skb_cow_data whenever possible") Reported-by: JD <[email protected]> Reported-by: Paul Wouters <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
- Loading branch information