# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1276.28.1 -> 1.1276.28.2 # net/ipv6/ip6_tunnel.c 1.7 -> 1.8 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/09/01 vnuorval@xxxxxxxxxxxxxxxxxxxxxxxxxx 1.1276.28.2 # Use free_netdev as ip6_tunnel device destructor # -------------------------------------------- # diff -Nru a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c --- a/net/ipv6/ip6_tunnel.c Mon Sep 1 01:57:37 2003 +++ b/net/ipv6/ip6_tunnel.c Mon Sep 1 01:57:37 2003 @@ -1082,7 +1082,7 @@ { SET_MODULE_OWNER(dev); dev->uninit = ip6ip6_tnl_dev_uninit; - dev->destructor = (void (*)(struct net_device *))kfree; + dev->destructor = free_netdev; dev->hard_start_xmit = ip6ip6_tnl_xmit; dev->get_stats = ip6ip6_tnl_get_stats; dev->do_ioctl = ip6ip6_tnl_ioctl;