bonding: fix build issue
authorMahesh Bandewar <maheshb@google.com>
Fri, 16 Jul 2021 23:09:41 +0000 (16:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Jul 2021 00:22:35 +0000 (17:22 -0700)
commit5b69874f74cc5707edd95fcdaa757c507ac8af0f
treebf1e8b58cf2b3ba9fe2cccf31329758fff0bad8e
parent5f119ba1d5771bbf46d57cff7417dcd84d3084ba
bonding: fix build issue

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>
drivers/net/bonding/bond_main.c