bridge: fix endian
authorLi RongQing <roy.qing.li@gmail.com>
Mon, 9 Jul 2012 23:56:12 +0000 (23:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jul 2012 08:31:24 +0000 (01:31 -0700)
commit4715213d9cf40285492fff4092bb1fa8e982f632
treeb5cb03e0833061931d23d24afc2f9961132963e1
parent0d653ed89144828169282a654ffab26811210fd1
bridge: fix endian

mld->mld_maxdelay is net endian, so we should use ntohs, not htons

CC: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c