OSDN Git Service

Convert usage of IN_MULTICAST to ipv4_is_multicast
authorDave Taht <dave.taht@gmail.com>
Mon, 2 Sep 2019 23:29:36 +0000 (16:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 07:38:32 +0000 (09:38 +0200)
commit842841ece540f7d7739bec3e9b79bdf9669d77d7
tree494eb0527c91b8d399aba9f7016a4da5a83b5d7f
parent9367fa08415a6168f8ee2b5bb373362d75bfa860
Convert usage of IN_MULTICAST to ipv4_is_multicast

IN_MULTICAST's primary intent is as a uapi macro.

Elsewhere in the kernel we use ipv4_is_multicast consistently.

This patch unifies linux's multicast checks to use that function
rather than this macro.

Signed-off-by: Dave Taht <dave.taht@gmail.com>
Reviewed-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c
include/net/vxlan.h
net/rds/af_rds.c
net/rds/bind.c
net/rds/send.c