Commit 376534a3 authored by Jiri Benc's avatar Jiri Benc Committed by David S. Miller

ip_tunnels: use offsetofend

Signed-off-by: default avatarJiri Benc <>
Acked-by: default avatarThomas Graf <>
Signed-off-by: default avatarDavid S. Miller <>
parent 6b8847c5
......@@ -23,9 +23,7 @@
/* Used to memset ip_tunnel padding. */
(offsetof(struct ip_tunnel_key, tp_dst) + \
FIELD_SIZEOF(struct ip_tunnel_key, tp_dst))
#define IP_TUNNEL_KEY_SIZE offsetofend(struct ip_tunnel_key, tp_dst)
struct ip_tunnel_key {
__be64 tun_id;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment