[PATCH net v2 3/3] dpaa2-switch: Fix device reference count leak in MAC endpoint handling