net: ipmr: move pimsm_enabled to pim.h and rename
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Thu, 26 Nov 2015 14:23:48 +0000 (15:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2015 20:26:22 +0000 (15:26 -0500)
commit1973a4ea6ceaa47671227c3077f90508ea30897b
treee0a0e6d13f5302891e0a45aee15b02b5729ac93d
parent5ea1f13299d8b8edcb2969eda4c81f8e3264b706
net: ipmr: move pimsm_enabled to pim.h and rename

Move the inline pimsm_enabled() to pim.h and rename it to
ipmr_pimsm_enabled to show it's for the ipv4 ipmr code since pim.h is
used by IPv6 too.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pim.h
net/ipv4/ipmr.c