Make link_filter_inouts() return meaningful error codes.