ipfix: fix segfault for Flow_Sample_Collector_Set without ipfix
authorRomain Lenglet <rlenglet@vmware.com>
Wed, 20 Nov 2013 18:57:52 +0000 (10:57 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 21 Nov 2013 00:30:53 +0000 (16:30 -0800)
commit3388e51a73f6f6539f83980270a4f31592928b7e
tree8f1382e5936a5a53cae5ba09486c12e4171e7aed
parent4905e2dfef440a2377cec934f3cfae62a3feee83
ipfix: fix segfault for Flow_Sample_Collector_Set without ipfix

Guard any access to an IPFIX row referenced from
Flow_Sample_Collector_Set by a test that the reference is not NULL.

Signed-off-by: Romain Lenglet <rlenglet@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c