Thread (8 messages) 8 messages, 2 authors, 2017-06-15

RE: [RFC] networking: convert many more places to skb_put_zero()

flat view

From: YUAN Linyu <hidden>
Date: 2017-06-15 07:47:56

Ok, understand 
-----Original Message-----
From: Johannes Berg [mailto:johannes@sipsolutions.net]
Sent: Thursday, June 15, 2017 3:45 PM
To: YUAN Linyu; netdev@vger.kernel.org
Subject: Re: [RFC] networking: convert many more places to skb_put_zero()

On Thu, 2017-06-15 at 07:20 +0000, YUAN Linyu wrote:
quoted
quoted
In my opinion if spatch can do it even it found one place, keep it.
Only leave difficult places like ndisc.c to me.
It's not so simple - I'd have to tailor the spatch to it pretty much I
guess, spending far more time on the spatch than the single place
warrants.
quoted
quoted
Btw, just made a patch to add and use "skb_put_data()", just doing
a
memcpy() into the skb_put() area also has lots of users.
Yes, I also notice some places.
I sent a patch.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help