diff options
author | Taehee Yoo <ap420073@gmail.com> | 2021-07-05 17:38:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-06 19:36:59 +0200 |
commit | b121693381b112b78c076dea171ee113e237c0e4 (patch) | |
tree | d5efc8f282f460f543d8c2e765aab7447e514f68 /include/net/bonding.h | |
parent | bonding: fix suspicious RCU usage in bond_ipsec_del_sa() (diff) | |
download | linux-b121693381b112b78c076dea171ee113e237c0e4.tar.xz linux-b121693381b112b78c076dea171ee113e237c0e4.zip |
bonding: disallow setting nested bonding + ipsec offload
bonding interface can be nested and it supports ipsec offload.
So, it allows setting the nested bonding + ipsec scenario.
But code does not support this scenario.
So, it should be disallowed.
interface graph:
bond2
|
bond1
|
eth0
The nested bonding + ipsec offload may not a real usecase.
So, disallowing this scenario is fine.
Fixes: 18cb261afd7b ("bonding: support hardware encryption offload to slaves")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bonding.h')
0 files changed, 0 insertions, 0 deletions