Skip to content
Commit 2bb53e25 authored by Steffen Klassert's avatar Steffen Klassert
Browse files

xfrm: check for a vaild skb in xfrm_policy_queue_process



We might dreference a NULL pointer if the hold_queue is empty,
so add a check to avoid this.

Bug was introduced with git commit a0073fe1 ("xfrm: Add a state
resolution packet queue")

Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent e7d8f6cb
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