bridge: sparse fixes in br_ip6_multicast_alloc_query()
authorLance Richardson <lrichard@redhat.com>
Mon, 16 Jan 2017 23:11:35 +0000 (18:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2017 20:22:05 +0000 (15:22 -0500)
commit53631a5f9c6669264adb7b4e92fd95d1d6ffa7d3
treea8c07edb3c514ab2b5e3957c3e9307529dd0a829
parent580bdf5650fff8f66468ce491f8308f1117b7074
bridge: sparse fixes in br_ip6_multicast_alloc_query()

Changed type of csum field in struct igmpv3_query from __be16 to
__sum16 to eliminate type warning, made same change in struct
igmpv3_report for consistency.

Fixed up an ntohs() where htons() should have been used instead.

Signed-off-by: Lance Richardson <lrichard@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/igmp.h
net/bridge/br_multicast.c