diff --git a/net/ipv6/ip6_vti.c b/net/ipv6/ip6_vti.c index 2c30f142ac51da4edb0fef97be80f87bf118b1c9..287c9d53f74a784db803ab712125af0ec6c204ba 100644 --- a/net/ipv6/ip6_vti.c +++ b/net/ipv6/ip6_vti.c @@ -806,6 +806,8 @@ vti6_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) struct net *net = dev_net(dev); struct vti6_net *ip6n = net_generic(net, vti6_net_id); + memset(&p1, 0, sizeof(p1)); + switch (cmd) { case SIOCGETTUNNEL: if (dev == ip6n->fb_tnl_dev) {