On Mon, Feb 06, 2017 at 11:25:00AM +0100, Sven Eckelmann wrote:
I like this change but have some questions (but no time to check it). Is cb initialized when a new skbuff is allocated?
Hm, good point. It looks like skb->cb is set to zero for newly allocated skbs via a memset down to skb->tail. However, I could not find anything resetting it to zero in net/core/dev.c, so there could potentially be an issue.
It seems like network-coding.c might have the same issue already for skb::cb::decoded.