Commit c54c83e8 authored by Paul E. Erkkila's avatar Paul E. Erkkila Committed by Hideaki Yoshifuji

[IPV4]: Make sure ipgre_tunnel_init() gets the correct ioctl settings.

parent 14f35ba5
...@@ -276,6 +276,8 @@ static struct ip_tunnel * ipgre_tunnel_locate(struct ip_tunnel_parm *parms, int ...@@ -276,6 +276,8 @@ static struct ip_tunnel * ipgre_tunnel_locate(struct ip_tunnel_parm *parms, int
return NULL; return NULL;
dev->init = ipgre_tunnel_init; dev->init = ipgre_tunnel_init;
nt = dev->priv;
nt->parms = *parms;
if (register_netdevice(dev) < 0) { if (register_netdevice(dev) < 0) {
kfree(dev); kfree(dev);
......
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