linux/drivers/net/bonding
Taehee Yoo b121693381 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: 18cb261afd ("bonding: support hardware encryption offload to slaves")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-06 10:36:59 -07:00
..
bond_3ad.c bonding: 3ad: Print an error for unknown speeds 2021-02-11 14:28:21 -08:00
bond_alb.c net: bonding: bond_alb: Fix some typos in bond_alb.c 2021-05-21 13:30:41 -07:00
bond_debugfs.c net: bonding: remove unnecessary braces 2021-05-20 15:43:24 -07:00
bond_main.c bonding: disallow setting nested bonding + ipsec offload 2021-07-06 10:36:59 -07:00
bond_netlink.c net: bonding: use tabs instead of space for code indent 2021-05-20 15:43:24 -07:00
bond_options.c bonding: remove redundant initialization of variable ret 2021-06-03 15:25:29 -07:00
bond_procfs.c net: bonding: add some required blank lines 2021-05-20 15:43:24 -07:00
bond_sysfs_slave.c bonding: wait for sysfs kobject destruction before freeing struct slave 2020-11-21 13:07:00 -08:00
bond_sysfs.c net: bonding: add some required blank lines 2021-05-20 15:43:24 -07:00
bonding_priv.h drivers: Remove inclusion of vermagic header 2020-04-21 13:27:37 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00