]> 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)
commit823ece1f47692bfa3ca8d39486283ca739281448
treebf1e8b58cf2b3ba9fe2cccf31329758fff0bad8e
parente652e5c1ad41dd413f3637e83591170e82a7af3d
bonding: fix build issue

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