ramips: fix locking issues in the ethernet driver