diff options
-rw-r--r-- | net/ipv4/ip_gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 05ebce2881ef..85c487b8572b 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
@@ -1345,7 +1345,7 @@ out: | |||
1345 | static void ipgre_netlink_parms(struct nlattr *data[], | 1345 | static void ipgre_netlink_parms(struct nlattr *data[], |
1346 | struct ip_tunnel_parm *parms) | 1346 | struct ip_tunnel_parm *parms) |
1347 | { | 1347 | { |
1348 | memset(parms, 0, sizeof(parms)); | 1348 | memset(parms, 0, sizeof(*parms)); |
1349 | 1349 | ||
1350 | parms->iph.protocol = IPPROTO_GRE; | 1350 | parms->iph.protocol = IPPROTO_GRE; |
1351 | 1351 | ||