[ovs-dev] [IPFIX FIXES 1/2] ipfix: fix segfault for Flow_Sample_Collector_Set without ipfix

Ben Pfaff blp at nicira.com
Thu Nov 21 00:37:44 UTC 2013


On Wed, Nov 20, 2013 at 10:57:52AM -0800, Romain Lenglet wrote:
> 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 at vmware.com>

I removed the "inline" keyword from the new function.  It doesn't help
the compiler and it does suppress warnings about unused functions (which
I'd want, should this ever become unused).

Applied, with that change.

Thanks,

Ben.



More information about the dev mailing list