Subject: Re: net-ipv6: Delete unnecessary checks before the function call "kfree_skb"

From: SF Markus Elfring <[email-masked]>
Date: Sun, 15 Nov 2015 07:17:46 +0100

> While if the test is done in kfree_skb(), the branch predictor of the
> cpu wont be able to predict things.
> 
> By feeding too many NULL pointers to kfree_skb(), we slow down it.

Would it make sense to annotate checks before such function calls
as "UNLIKELY"?

Regards,
Markus