fix IPv6 queries for bridge multicast snooping
Subsystems (3)
PATCH 1/1 fix IPv6 queries for bridge multicast snooping
This patch fixes a missing ntohs() for bridge IPv6 multicast snooping.
Signed-off-by David L Stevens <[email protected]>
net/bridge/br_multicast.c +1 -1
@@ -437,7 +437,7 @@ static struct sk_buff *br_ip6_multicast_ ip6h =ipv6_hdr (skb); *(__force __be32 *)ip6h =htonl (0x60000000 ); - ip6h->payload_len =8 +sizeof (*mldq); + ip6h->payload_len =htons (8 +sizeof (*mldq)); ip6h->nexthdr =IPPROTO_HOPOPTS ; ip6h->hop_limit =1 ;ipv6_addr_set (&ip6h->saddr,0 ,0 ,0 ,0 );
Quoted 3 lines · David L Stevens
This patch fixes a missing
ntohs()for bridge IPv6 multicast snooping.Signed-off-by David L Stevens <[email protected]>
Acked-by Herbert Xu <[email protected]>
I had wanted to fix this but forgot :)
Thanks,
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
David Miller
maintainerFrom: Herbert Xu <[email protected]>
Date: Wed, 15 Dec 2010 09:00:50 +0800
Quoted 8 lines · David L Stevens
Quoted 3 lines
This patch fixes a missing
ntohs()for bridge IPv6 multicast snooping.Signed-off-by David L Stevens <[email protected]>Acked-by Herbert Xu <[email protected]>I had wanted to fix this but forgot :)
Applied and queued up for -stable, thanks!