|
@@ -829,6 +829,7 @@ static struct rtnl_link_ops ipgre_link_ops __read_mostly = {
|
|
.dellink = ip_tunnel_dellink,
|
|
.dellink = ip_tunnel_dellink,
|
|
.get_size = ipgre_get_size,
|
|
.get_size = ipgre_get_size,
|
|
.fill_info = ipgre_fill_info,
|
|
.fill_info = ipgre_fill_info,
|
|
|
|
+ .get_link_net = ip_tunnel_get_link_net,
|
|
};
|
|
};
|
|
|
|
|
|
static struct rtnl_link_ops ipgre_tap_ops __read_mostly = {
|
|
static struct rtnl_link_ops ipgre_tap_ops __read_mostly = {
|
|
@@ -843,6 +844,7 @@ static struct rtnl_link_ops ipgre_tap_ops __read_mostly = {
|
|
.dellink = ip_tunnel_dellink,
|
|
.dellink = ip_tunnel_dellink,
|
|
.get_size = ipgre_get_size,
|
|
.get_size = ipgre_get_size,
|
|
.fill_info = ipgre_fill_info,
|
|
.fill_info = ipgre_fill_info,
|
|
|
|
+ .get_link_net = ip_tunnel_get_link_net,
|
|
};
|
|
};
|
|
|
|
|
|
static int __net_init ipgre_tap_init_net(struct net *net)
|
|
static int __net_init ipgre_tap_init_net(struct net *net)
|