lacp: Don't lock potentially uninitialized mutex in lacp_status().
authorBen Pfaff <blp@nicira.com>
Thu, 24 Apr 2014 23:58:45 +0000 (16:58 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 28 Apr 2014 22:54:45 +0000 (15:54 -0700)
commit2a3fb0aa3c0eef580c11572089bacc65cfd4290a
treed8e66bafb6ae7d33fd1885e30954a15e55faea7a
parentc5cf10598f8c9f4428291e9df3ecd72a05fb1ccf
lacp: Don't lock potentially uninitialized mutex in lacp_status().

If the 'lacp' parameter is nonnull, then we know that the file scope mutex
has been initialized, since that's done as a side effect of creating a
lacp object, but otherwise there's no guarantee.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/lacp.c