Re: [PATCH 03/37] staging:r8188eu: remove skb cloning after netdev_alloc_skb fail

From: Dan Carpenter
Date: Thu Oct 20 2016 - 04:43:52 EST


On Wed, Oct 19, 2016 at 10:07:31PM +0700, Ivan Safonov wrote:
> In accordance with the KISS principle.
>

The changelog is not complete enough.

Some people are going to read only the subject, but other people are
only going to read the body of the changelog. They can be far apart
depending on how you look at patches. For example:
http://marc.info/?l=linux-driver-devel&m=147688960328996&w=2

It should say: "Just drop the packet if we can't allocate data. Don't
go to a lot of work to try recover. Let the other side resend the
data."

regards,
dan carpenter