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

2017-06-15 Thread Johannes Berg
On Thu, 2017-06-15 at 14:36 -0400, David Miller wrote: > Johannes these changes look good, please feel free to submit them > formally. Yeah, will do, just need to find the time to at least build-test them (and we had a holiday here today) :) johannes

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

2017-06-15 Thread David Miller
Johannes these changes look good, please feel free to submit them formally.

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

2017-06-15 Thread Johannes Berg
ger.kernel.org > > Cc: Johannes Berg > > Subject: [RFC v2] networking: convert many more places to > > skb_put_zero() > > > > From: Johannes Berg <johannes.b...@intel.com> > > diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c > > index ea2

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

2017-06-15 Thread YUAN Linyu
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Johannes Berg > Sent: Thursday, June 15, 2017 5:28 PM > To: netdev@vger.kernel.org > Cc: Johannes Berg > Subject: [RFC v2] networking: convert many more p

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

2017-06-15 Thread Johannes Berg
From: Johannes Berg There were many places that my previous spatch didn't find, as pointed out by yuan linyu in various patches. The following spatch found many more and also removes the now unnecessary casts: @@ identifier p, p2; expression len;