Messages in this thread | | | Subject | Re: net: hsr: remove a redundant null check before kfree_skb | From | Markus Elfring <> | Date | Wed, 4 Sep 2019 13:55:54 +0200 |
| |
> kfree_skb has taken the null pointer into account.
I suggest to take another look also at information around a similar update suggestion.
net-hsr: Delete unnecessary checks before the function call "kfree_skb" https://lkml.org/lkml/2015/11/14/120 https://lore.kernel.org/patchwork/patch/617878/ https://lore.kernel.org/r/5647A77E.6040501@users.sourceforge.net/
https://lkml.org/lkml/2015/11/24/433 https://lore.kernel.org/r/56546951.9080101@alten.se/
Regards, Markus
| |