Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

From: David Miller
Date: Wed Sep 28 2016 - 08:10:00 EST

From: Jamal Hadi Salim <jhs@xxxxxxxxxxxx>
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.