diff options
author | Taehee Yoo <ap420073@gmail.com> | 2021-07-05 15:38:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-06 10:36:59 -0700 |
commit | 168e696a36792a4a3b2525a06249e7472ef90186 (patch) | |
tree | c31ce40bfc8af3708046d61997bac6fd21e118b3 /tools/perf/scripts/python/sched-migration.py | |
parent | 955b785ec6b3b2f9b91914d6eeac8ee66ee29239 (diff) |
bonding: fix incorrect return value of bond_ipsec_offload_ok()
bond_ipsec_offload_ok() is called to check whether the interface supports
ipsec offload or not.
bonding interface support ipsec offload only in active-backup mode.
So, if a bond interface is not in active-backup mode, it should return
false but it returns true.
Fixes: a3b658cfb664 ("bonding: allow xfrm offload setup post-module-load")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions