[PATCH openEuler-5.10-LTS 20/20] bonding: Fix memory leak when changing bond type to Ethernet