]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab2457618377ef7f4935561214d2002ae0ffb2e4
treef1f55ebd16d69cc804016121e797443e869d8ff7
parentb06c62c4ab376ecd5da0c430a08e5867bb284078
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