CRED: Wrap task credential accesses in the network device drivers