when a buff of rx packets is given to that function, and some are a "hit" and some are not, there is a seg fault on the 0 pointers... 
Unless I'm, missing something there should be a check on non zero  
image.png