diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index f61eb2eff3fdd387b83d9fab642bb610dde1ad69..59660c909a7ce013b712effdafdc7e623d78e044 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c @@ -1475,7 +1475,7 @@ static int br_multicast_ipv6_rcv(struct net_bridge *br, ip6h->payload_len == 0) return 0; - len = ntohs(ip6h->payload_len); + len = ntohs(ip6h->payload_len) + sizeof(*ip6h); if (skb->len < len) return -EINVAL;