diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2013-10-08 10:49:51 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-10-08 10:49:51 +0200 |
commit | 2bb53e2557964c2c5368a0392cf3b3b63a288cd0 (patch) | |
tree | a62a0dd7f1cbfe4dab7826e0769d9a0a8fde81c3 /net/xfrm/xfrm_sysctl.c | |
parent | e7d8f6cb2f8735693396872f4608bbe305e8baee (diff) | |
download | linux-2bb53e2557964c2c5368a0392cf3b3b63a288cd0.tar.gz linux-2bb53e2557964c2c5368a0392cf3b3b63a288cd0.tar.bz2 linux-2bb53e2557964c2c5368a0392cf3b3b63a288cd0.zip |
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 a0073fe18 ("xfrm: Add a state
resolution packet queue")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_sysctl.c')
0 files changed, 0 insertions, 0 deletions