diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-21 10:14:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-21 10:14:25 +0200 |
commit | 87eb367003887cdc81a5d183efea227b5b488961 (patch) | |
tree | 40f617e25a9364d573e3cd2189c9e7fa56c8a0fe /net/bridge/br_multicast.c | |
parent | net: Remove two unnecessary exports (skbuff). (diff) | |
parent | net: Fix an RCU warning in dev_pick_tx() (diff) | |
download | linux-87eb367003887cdc81a5d183efea227b5b488961.tar.xz linux-87eb367003887cdc81a5d183efea227b5b488961.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/iwlwifi/iwl-6000.c
net/core/dev.c
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 61e1d1094b85..81bfdfe14ce5 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c @@ -727,7 +727,7 @@ static int br_multicast_igmp3_report(struct net_bridge *br, group = grec->grec_mca; type = grec->grec_type; - len += grec->grec_nsrcs * 4; + len += ntohs(grec->grec_nsrcs) * 4; if (!pskb_may_pull(skb, len)) return -EINVAL; |