diff options
Diffstat (limited to 'include/net/ipv6_frag.h')
| -rw-r--r-- | include/net/ipv6_frag.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipv6_frag.h b/include/net/ipv6_frag.h index 1f77fb4dc79d..a21e8b1381a1 100644 --- a/include/net/ipv6_frag.h +++ b/include/net/ipv6_frag.h | |||
| @@ -67,6 +67,8 @@ ip6frag_expire_frag_queue(struct net *net, struct frag_queue *fq) | |||
| 67 | struct sk_buff *head; | 67 | struct sk_buff *head; |
| 68 | 68 | ||
| 69 | rcu_read_lock(); | 69 | rcu_read_lock(); |
| 70 | if (fq->q.fqdir->dead) | ||
| 71 | goto out_rcu_unlock; | ||
| 70 | spin_lock(&fq->q.lock); | 72 | spin_lock(&fq->q.lock); |
| 71 | 73 | ||
| 72 | if (fq->q.flags & INET_FRAG_COMPLETE) | 74 | if (fq->q.flags & INET_FRAG_COMPLETE) |
