Re: [Patch net-next] tcp_metrics: rearrange fields to avoid holes
From: David Miller <davem@davemloft.net>
Date: 2013-08-01 07:15:55
From: David Miller <davem@davemloft.net>
Date: 2013-08-01 07:15:55
From: Cong Wang <redacted> Date: Thu, 01 Aug 2013 10:48:31 +0800
Please teach me how to do that?
struct inet_addr {
union {
u32 v4;
u32 v6[4];
};
};
ie. exactly what that code is using already.
And it's called called inetpeer_addr, we have it already, there is no
need to make something new.
Making this code use a structure with completely unnecessary and
unused members is pointless and a step backwards.