xfrm: check for a vaild skb in xfrm_policy_queue_process
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 8 Oct 2013 08:49:51 +0000 (10:49 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 8 Oct 2013 08:49:51 +0000 (10:49 +0200)
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 a0073fe18 ("xfrm: Add a state
resolution packet queue")

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>

No differences found