]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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, 4 Jun 2019 06:01:26 +0000 (08:01 +0200)
commitf167aa5a72379e8a87edab24e9ef67d817922dad
tree5dc5b064f16b9cd2aaec208a9e3c175b6446980a
parent45bda43ce3a2b071540288dc624eeaa674c06376
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