tipc: fix build issue when building without IPv6
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Thu, 19 Mar 2015 19:47:58 +0000 (16:47 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2015 20:06:27 +0000 (16:06 -0400)
commit446981e5fcad3d64a27358d6591928da4a55a156
tree48594d4536820e272c63f27d59d506a1d2f8eeff
parentd15b1de46ffa7551c36d7be5a58a02321a820a0f
tipc: fix build issue when building without IPv6

We can't directly call ipv6_sock_mc_join() but should use the stub
instead and protect it around IS_ENABLED.

Fixes: d0f91938bede ("tipc: add ip/udp media type")
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c