]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bonding: fix build issue
authorMahesh Bandewar <maheshb@google.com>
Fri, 16 Jul 2021 23:09:41 +0000 (16:09 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 20 Sep 2021 13:42:00 +0000 (15:42 +0200)
commit6fef16ebc1723ec1a593ebf663a75368ca4273c3
treeb2400422ac480809c98a86e328b922b5d1d00a27
parent58a8a255eb4f2a140375c5b34cfbdf6caef724a8
bonding: fix build issue

BugLink: https://bugs.launchpad.net/bugs/1940468
commit 5b69874f74cc5707edd95fcdaa757c507ac8af0f upstream.

The commit 9a5605505d9c (" bonding: Add struct bond_ipesc to manage SA") is causing
following build error when XFRM is not selected in kernel config.

lld: error: undefined symbol: xfrm_dev_state_flush
>>> referenced by bond_main.c:3453 (drivers/net/bonding/bond_main.c:3453)
>>>               net/bonding/bond_main.o:(bond_netdev_event) in archive drivers/built-in.a

Fixes: 9a5605505d9c (" bonding: Add struct bond_ipesc to manage SA")
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
CC: Taehee Yoo <ap420073@gmail.com>
CC: Jay Vosburgh <jay.vosburgh@canonical.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: Stefan Bader <stefan.bader@canonical.com>
drivers/net/bonding/bond_main.c