Re: [PATCH v2] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

From: Eric Dumazet
Date: Tue Aug 15 2017 - 11:38:01 EST


On Tue, 2017-08-15 at 12:05 -0300, Marcelo Ricardo Leitner wrote:

> Ok, but I should see a difference in the generated code, right?

Depends on the compiler. Have you tried older versions ?

One argument is that following struct member definition eases code
review.

(It is easier to catch a field init is missing)