aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/af_inet6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r--net/ipv6/af_inet6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 3d828bc4b1cf..0843c4d6218c 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -153,7 +153,7 @@ lookup_protocol:
153 answer_flags = answer->flags; 153 answer_flags = answer->flags;
154 rcu_read_unlock(); 154 rcu_read_unlock();
155 155
156 BUG_TRAP(answer_prot->slab != NULL); 156 WARN_ON(answer_prot->slab == NULL);
157 157
158 err = -ENOBUFS; 158 err = -ENOBUFS;
159 sk = sk_alloc(net, PF_INET6, GFP_KERNEL, answer_prot); 159 sk = sk_alloc(net, PF_INET6, GFP_KERNEL, answer_prot);