]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit8019540e79bddb068b81b4c83e26e5e5ec31d49b
tree043cb6b4d7493d755c083bd9003c2a88a82ea784
parent780fdb711f8b318f24698789ec449cc2b57940a4
ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST

BugLink: https://bugs.launchpad.net/bugs/1838700
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/ipv4/igmp.c