Re: [PATCH v2 net-next 01/13] ip_tunnels: remove custom alignment and packing

2015-08-19 Thread Thomas Graf
On 08/19/15 at 12:09pm, Jiri Benc wrote: > The custom alignment of struct ip_tunnel_key is unnecessary. In struct > sw_flow_key, it starts at offset 256, in struct ip_tunnel_info it's the > first field. > > The structure is also packed even without the __packed keyword. > > Signed-off-by: Jiri Be

[PATCH v2 net-next 01/13] ip_tunnels: remove custom alignment and packing

2015-08-19 Thread Jiri Benc
The custom alignment of struct ip_tunnel_key is unnecessary. In struct sw_flow_key, it starts at offset 256, in struct ip_tunnel_info it's the first field. The structure is also packed even without the __packed keyword. Signed-off-by: Jiri Benc --- include/net/ip_tunnels.h | 2 +- 1 file change