]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ip_tunnels: remove custom alignment and packing
authorJiri Benc <jbenc@redhat.com>
Thu, 20 Aug 2015 11:56:20 +0000 (13:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2015 22:42:35 +0000 (15:42 -0700)
commitac1cf3990c99802eae3aa735b35c94a2131eb9fe
tree56eefb7e6af634aa2f4fcac9d9f7c700cfcf7e38
parent938049e18dca57bcd2f93986fc1cbb5a83cdf027
ip_tunnels: remove custom alignment and packing

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 <jbenc@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h