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:41:37 +0000 (16:41 -0800)
commitb4fa9d4064a4725f70eba594cf9d25165647e99d
treee0f1ef6f7996c163239bda0471c622b40906cc33
parenta055dee66618f3c89d06d1bb4f53bb0a1e0efe05
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