vswitch: Don't pass null pointer to stat().
authorBen Pfaff <blp@nicira.com>
Mon, 6 Jul 2009 23:20:46 +0000 (16:20 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 6 Jul 2009 23:35:04 +0000 (16:35 -0700)
commitde2047c5124f4301931587cb4af79ebe4f5d2f02
tree22a00f97aad834f8489f5e899dfe2e1960366615
parentd3d22744a7408ec3d6d9eac255862b5761166c2d
vswitch: Don't pass null pointer to stat().

If no CA certificate is defined then cacert_file is null.  The kernel
kindly tolerates this but we should not do it anyhow.

Found with valgrind.
vswitchd/bridge.c