A Linear-time Self-stabilizing Algorithm for Maximal 2-packing under Synchronous Daemon with Restriction