Remove most of the global vars to avoid race conditions with multiple fanout workers. Set fanout option HashWithDefrag otherwise fragmented packets could cause some troubles. With HashWithDefrag af_packet will take care of defragmentation, not heplify.
Remove most of the global vars to avoid race conditions with multiple fanout workers. Set fanout option HashWithDefrag otherwise fragmented packets could cause some troubles. With HashWithDefrag af_packet will take care of defragmentation, not heplify.