[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160928.080924.262829446101549341.davem@davemloft.net>
Date: Wed, 28 Sep 2016 08:09:24 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jhs@...atatu.com
Cc: gorcunov@...il.com, eric.dumazet@...il.com,
dsa@...ulusnetworks.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kuznet@....inr.ac.ru,
jmorris@...ei.org, yoshfuji@...ux-ipv6.org, kaber@...sh.net,
avagin@...nvz.org, stephen@...workplumber.org
Subject: Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets
From: Jamal Hadi Salim <jhs@...atatu.com>
Date: Wed, 28 Sep 2016 08:06:51 -0400
> I understood well your point;-> Maybe my response was not clear:
> _nobody should be fscking fondling pad fields_ setting them or
> otherwise.
Especially considering potential future uses of the field, existing
users absolutely must zero out the field.
Whether this is via a memset() of the entire structure or via
an explicit initialization to zero is their choice.
So setting 'pad' is in fact valid.
Powered by blists - more mailing lists