ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST
authorEric Dumazet <edumazet@google.com>
Thu, 23 May 2019 01:35:16 +0000 (18:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 10:22:34 +0000 (12:22 +0200)
commit2113c72b3830b461e3f31f43077feba18070ee80
tree25761ae6a42592a4e63a7dfa11611f8a3f6c0e5a
parent405d3bbab40550af3908a4e53c614e565daf31cc
ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST

[ Upstream commit 903869bd10e6719b9df6718e785be7ec725df59f ]

ip_sf_list_clear_all() needs to be defined even if !CONFIG_IP_MULTICAST

Fixes: 3580d04aa674 ("ipv4/igmp: fix another memory leak in igmpv3_del_delrec()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/igmp.c