X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Ftunnel.h;h=b7de7a986ca5cf920885c038de234e6e8537e53a;hb=9b405f1aa8d175d;hp=77054750ab8f7e53c0ff52c8eb74e28b14fde931;hpb=2c11563ad2967db7e5131f763c4d1107919b901e;p=sliver-openvswitch.git diff --git a/datapath/tunnel.h b/datapath/tunnel.h index 77054750a..b7de7a986 100644 --- a/datapath/tunnel.h +++ b/datapath/tunnel.h @@ -201,7 +201,6 @@ static inline void tnl_tun_key_init(struct ovs_key_ipv4_tunnel *tun_key, tun_key->ipv4_tos = iph->tos; tun_key->ipv4_ttl = iph->ttl; tun_key->tun_flags = tun_flags; - memset(tun_key->pad, 0, sizeof(tun_key->pad)); } static inline void tnl_get_param(const struct tnl_mutable_config *mutable,