Re: [PATCH net-next 0/6] sock cookie initializers

2018-07-06 Thread David Miller
From: Willem de Bruijn Date: Fri, 6 Jul 2018 10:12:53 -0400 > From: Willem de Bruijn > > Recent UDP GSO and SO_TXTIME features added new fields to cookie > structs. > > When adding a field, all sites where a struct is initialized have to > be updated, which is a lot of boilerplate. Alternativ

Re: [PATCH net-next 0/6] sock cookie initializers

2018-07-06 Thread Willem de Bruijn
On Fri, Jul 6, 2018 at 1:24 PM Jesus Sanchez-Palencia wrote: > > > > On 07/06/2018 07:12 AM, Willem de Bruijn wrote: > > From: Willem de Bruijn > > > > Recent UDP GSO and SO_TXTIME features added new fields to cookie > > structs. > > > > When adding a field, all sites where a struct is initialize

Re: [PATCH net-next 0/6] sock cookie initializers

2018-07-06 Thread Jesus Sanchez-Palencia
On 07/06/2018 07:12 AM, Willem de Bruijn wrote: > From: Willem de Bruijn > > Recent UDP GSO and SO_TXTIME features added new fields to cookie > structs. > > When adding a field, all sites where a struct is initialized have to > be updated, which is a lot of boilerplate. Alternatively, a field

[PATCH net-next 0/6] sock cookie initializers

2018-07-06 Thread Willem de Bruijn
From: Willem de Bruijn Recent UDP GSO and SO_TXTIME features added new fields to cookie structs. When adding a field, all sites where a struct is initialized have to be updated, which is a lot of boilerplate. Alternatively, a field can be initialized selectively, but this is fragile. I introduce