aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorNikolay Aleksandrov <[email protected]>2024-08-16 14:48:13 +0300
committerPaolo Abeni <[email protected]>2024-08-20 15:29:29 +0200
commitc4c5c5d2ef40a9f67a9241dc5422eac9ffe19547 (patch)
tree78df452048f436b9c430951ade98c6220e4ccb41 /scripts/rustdoc_test_builder.rs
parentf8cde9805981c50d0c029063dc7d82821806fc44 (diff)
bonding: fix xfrm state handling when clearing active slave
If the active slave is cleared manually the xfrm state is not flushed. This leads to xfrm add/del imbalance and adding the same state multiple times. For example when the device cannot handle anymore states we get: [ 1169.884811] bond0: (slave eni0np1): bond_ipsec_add_sa_all: failed to add SA because it's filled with the same state after multiple active slave clearings. This change also has a few nice side effects: user-space gets a notification for the change, the old device gets its mac address and promisc/mcast adjusted properly. Fixes: 18cb261afd7b ("bonding: support hardware encryption offload to slaves") Signed-off-by: Nikolay Aleksandrov <[email protected]> Reviewed-by: Hangbin Liu <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions