]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70287d8126595fe65b0070c6fee8bd725ecbd682
treebf1e8b58cf2b3ba9fe2cccf31329758fff0bad8e
parent1c1c70a34d901698cd71ba7c0cdb92b6521ea856
bonding: fix build issue

The commit a8d511774565 (" 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: a8d511774565 (" 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