sfc: Use swap() instead of open coding it