On Dienstag, 8. November 2016 08:59:49 CET Eric Dumazet wrote: [...]
+free_skb: consume_skb(skb);
- return NET_RX_SUCCESS;
- return ret;
}
Okay, but we do have kfree_skb() and consume_skb() and they should be used appropriately.
Yes, this patch is one part of reaching this goal. Some other parts are also in this patchset. But other changes like the one you've mention here (change some consume_skb partially back to kfree_skb) have still to be done. But first we have to clean up the main portion of the mess :)
Kind regards, Sven