summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv6/ip6_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv6/ip6_input.c')
-rw-r--r--kernel/net/ipv6/ip6_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/net/ipv6/ip6_input.c b/kernel/net/ipv6/ip6_input.c
index f2e464eba..57990c929 100644
--- a/kernel/net/ipv6/ip6_input.c
+++ b/kernel/net/ipv6/ip6_input.c
@@ -331,10 +331,10 @@ int ip6_mc_input(struct sk_buff *skb)
if (offset < 0)
goto out;
- if (!ipv6_is_mld(skb, nexthdr, offset))
- goto out;
+ if (ipv6_is_mld(skb, nexthdr, offset))
+ deliver = true;
- deliver = true;
+ goto out;
}
/* unknown RA - process it normally */
}