
From: Aichun Li <liaichun@huawei.com> euleros inclusion category: bugfix bugzilla: 47034 -------------------------------- Some bond_params and slave may be used to do other processing, but there is no private data to users. Add private_data in struct bond_params and struct slave, which can be used for special purposes. Signed-off-by: Aichun Li <liaichun@huawei.com> Reviewed-by: Yue Haibing <yuehaibing@huawei.com> reviewed-by: wangxiaopeng <wangxiaopeng7@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> --- include/net/bond_3ad.h | 4 ++++ include/net/bonding.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/net/bond_3ad.h b/include/net/bond_3ad.h index fc3111515f5cb..a031e5804986d 100644 --- a/include/net/bond_3ad.h +++ b/include/net/bond_3ad.h @@ -247,6 +247,10 @@ typedef struct port { struct port *next_port_in_aggregator; /* Next port on the linked list of the parent aggregator */ u32 transaction_id; /* continuous number for identification of Marker PDU's; */ struct lacpdu lacpdu; /* the lacpdu that will be sent for this port */ + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) } port_t; /* system structure */ diff --git a/include/net/bonding.h b/include/net/bonding.h index a548bada8e8e4..0960d9af7b8ee 100644 --- a/include/net/bonding.h +++ b/include/net/bonding.h @@ -133,6 +133,10 @@ struct bond_params { /* 2 bytes of padding : see ether_addr_equal_64bits() */ u8 ad_actor_system[ETH_ALEN + 2]; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) }; struct bond_parm_tbl { -- 2.25.1