diff options
Diffstat (limited to 'net/bridge/br_multicast.c')
-rw-r--r-- | net/bridge/br_multicast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index 85a0398b221..f03e2e98cd4 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c | |||
@@ -445,7 +445,7 @@ static struct sk_buff *br_ip6_multicast_alloc_query(struct net_bridge *br, | |||
445 | ip6h = ipv6_hdr(skb); | 445 | ip6h = ipv6_hdr(skb); |
446 | 446 | ||
447 | *(__force __be32 *)ip6h = htonl(0x60000000); | 447 | *(__force __be32 *)ip6h = htonl(0x60000000); |
448 | ip6h->payload_len = 8 + sizeof(*mldq); | 448 | ip6h->payload_len = htons(8 + sizeof(*mldq)); |
449 | ip6h->nexthdr = IPPROTO_HOPOPTS; | 449 | ip6h->nexthdr = IPPROTO_HOPOPTS; |
450 | ip6h->hop_limit = 1; | 450 | ip6h->hop_limit = 1; |
451 | ipv6_addr_set(&ip6h->saddr, 0, 0, 0, 0); | 451 | ipv6_addr_set(&ip6h->saddr, 0, 0, 0, 0); |