Commit d5acfb1f authored by David S. Miller's avatar David S. Miller

Merge davem@nuts.davemloft.net:/disk1/BK/netfix-2.6

into kernel.bkbits.net:/home/davem/netfix-2.6
parents d1c0dfc8 6bfc53c8
......@@ -535,7 +535,7 @@ void __exit ax25_rt_free(void)
{
ax25_route *s, *ax25_rt = ax25_route_list;
write_unlock(&ax25_route_lock);
write_lock(&ax25_route_lock);
while (ax25_rt != NULL) {
s = ax25_rt;
ax25_rt = ax25_rt->next;
......
......@@ -276,7 +276,6 @@ static struct ip_tunnel * ipgre_tunnel_locate(struct ip_tunnel_parm *parms, int
return NULL;
dev->init = ipgre_tunnel_init;
dev->tx_queue_len = 1;
nt = dev->priv;
nt->parms = *parms;
......@@ -1270,7 +1269,6 @@ int __init ipgre_init(void)
}
ipgre_fb_tunnel_dev->init = ipgre_fb_tunnel_init;
ipgre_fb_tunnel_dev->tx_queue_len = 1;
if ((err = register_netdev(ipgre_fb_tunnel_dev)))
goto fail;
......
......@@ -246,7 +246,6 @@ static struct ip_tunnel * ipip_tunnel_locate(struct ip_tunnel_parm *parms, int c
nt = dev->priv;
SET_MODULE_OWNER(dev);
dev->init = ipip_tunnel_init;
dev->tx_queue_len = 1;
dev->destructor = free_netdev;
nt->parms = *parms;
......@@ -893,7 +892,6 @@ int __init ipip_init(void)
}
ipip_fb_tunnel_dev->init = ipip_fb_tunnel_init;
ipip_fb_tunnel_dev->tx_queue_len = 1;
if ((err = register_netdev(ipip_fb_tunnel_dev)))
goto fail;
......
......@@ -184,7 +184,6 @@ static struct ip_tunnel * ipip6_tunnel_locate(struct ip_tunnel_parm *parms, int
nt = dev->priv;
dev->init = ipip6_tunnel_init;
dev->tx_queue_len = 1;
nt->parms = *parms;
if (register_netdevice(dev) < 0) {
......@@ -833,7 +832,6 @@ int __init sit_init(void)
}
ipip6_fb_tunnel_dev->init = ipip6_fb_tunnel_init;
ipip6_fb_tunnel_dev->tx_queue_len = 1;
if ((err = register_netdev(ipip6_fb_tunnel_dev)))
goto fail;
......
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