Added locking for ingress and egress lists.