+- add patches.fixes/linux-post-2.6.3-20040220
[linux-flexiantxendom0-3.2.10.git] / net / ipv4 / ipmr.c
index 6421a5f..a3720f2 100644 (file)
@@ -209,7 +209,7 @@ static struct net_device *ipmr_reg_vif(void)
                return NULL;
 
        if (register_netdevice(dev)) {
-               kfree(dev);
+               free_netdev(dev);
                return NULL;
        }
        dev->iflink = 0;