Protect cap access in driver()
Protect cap access in driver()

Signed-off-by: Alessandro Boch <5bd2eb5b6f60921d9a2b9cb6a0a86bb947f3d361@docker.com>

cpuguy83/libnetwork,coolljt0725/libnetwork,mbanikazemi/libnetwork,mahak/libnetwork,WeiZhang555/libnetwork,mavenugo/libnetwork,aboch/libnetwork_new,mahak/libnetwork,jimmycmh/libnetwork,ityangchen/libnetwork,ityangchen/libnetwork,medallia/libnetwork,sainath14/libnetwork,kolyshkin/libnetwork,tmakita/libnetwork,allencloud/libnetwork,abhi/libnetwork,docker/libnetwork,docker/libnetwork,kolyshkin/libnetwork,docker/libnetwork,fcrisciani/libnetwork,msabansal/libnetwork,mahak/libnetwork,curtiszimmerman/libnetwork,vdemeester/libnetwork,vdemeester/libnetwork,coolljt0725/libnetwork,YujiOshima/libnetwork,mYmNeo/libnetwork,mYmNeo/libnetwork,WeiZhang555/libnetwork,msabansal/libnetwork,fcrisciani/libnetwork,mavenugo/libnetwork,mbanikazemi/libnetwork,sainath14/libnetwork,cpuguy83/libnetwork,tmakita/libnetwork,kolyshkin/libnetwork,medallia/libnetwork,YujiOshima/libnetwork,vdemeester/libnetwork,allencloud/libnetwork,medallia/libnetwork,aboch/libnetwork_new,abhi/libnetwork,abhi/libnetwork,jimmycmh/libnetwork,curtiszimmerman/libnetwork