[PATCH net-next 2/5] bonding: use common function to compute the features