From: Li RongQing <redacted>
mld->mld_maxdelay is net endian, so we should use ntohs, not htons
CC: YOSHIFUJI Hideaki <redacted>
Signed-off-by: Li RongQing <redacted>
---
net/bridge/br_multicast.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
As you are doing the same change to the drivers in drivers/net/*** i
think a patchset would be better.
but that's just upto you. ;-)
Thanks,
On Tue, Jul 10, 2012 at 3:26 PM, [off-list ref] wrote:
quoted hunk
From: Li RongQing <redacted>
mld->mld_maxdelay is net endian, so we should use ntohs, not htons
CC: YOSHIFUJI Hideaki <redacted>
Signed-off-by: Li RongQing <redacted>
---
net/bridge/br_multicast.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -1160,7 +1160,7 @@ static int br_ip6_multicast_query(struct net_bridge *br,gotoout;}mld=(structmld_msg*)icmp6_hdr(skb);-max_delay=msecs_to_jiffies(htons(mld->mld_maxdelay));+max_delay=msecs_to_jiffies(ntohs(mld->mld_maxdelay));if(max_delay)group=&mld->mld_mca;}elseif(skb->len>=sizeof(*mld2q)){--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Li RongQing <redacted>
mld->mld_maxdelay is net endian, so we should use ntohs, not htons
CC: YOSHIFUJI Hideaki <redacted>
Signed-off-by: Li RongQing <redacted>