On 2016-11-22 at 00:09:32 +0100, Vadim Kochan <vadi...@gmail.com> wrote: > Move #ifdef PACKET_FANOUT at begining of join_fanout_group(...) function > to fix warning message that 'fanout_opt' & 'ret' variables are not used > if PACKET_FANOUT is not defined. > > It may happen on 2.6.x Linux version.
Nack. This way we would always panic in ring_rx_setup() if PACKET_FANOUT is not defined. We should allow to pass fanout_group = 0 (the default setting, i.e. no fanout group) even for !PACKET_FANOUT. -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to netsniff-ng+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.