]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Fix build with multicast disabled.
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2010 16:52:02 +0000 (08:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2010 16:52:02 +0000 (08:52 -0800)
commit81647c06065aa5b828743fc543ba0ccbd5916ad7
tree467753edeeb50e7b40da73141cb2478c82b3a623
parentee9b7ed543ad89585b56c3c5eec762051f9cac8b
ipv4: Fix build with multicast disabled.

net/ipv4/igmp.c: In function 'ip_mc_inc_group':
net/ipv4/igmp.c:1228: error: implicit declaration of function 'for_each_pmc_rtnl'
net/ipv4/igmp.c:1228: error: expected ';' before '{' token
net/ipv4/igmp.c: In function 'ip_mc_unmap':
net/ipv4/igmp.c:1333: error: expected ';' before 'igmp_group_dropped'
 ...

Move for_each_pmc_rcu and for_each_pmc_rtnl macro definitions
outside of multicast ifdef protection.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c