ipmr: fix sparse warning when testing origin or group
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 22 Jan 2013 10:18:03 +0000 (11:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2013 19:24:29 +0000 (14:24 -0500)
commit360eb5da665566a110993c58ed2a63e98f6720bf
treef1f55ebd16d69cc804016121e797443e869d8ff7
parent63b203b43baeb1ba5fab0b7f3611e0f0a2a4a7ab
ipmr: fix sparse warning when testing origin or group

mfc_mcastgrp and mfc_origin are __be32, thus we need to convert INADDR_ANY.
Because INADDR_ANY is 0, this patch just fix sparse warnings.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c