patch-2.4.0-test5 linux/net/ipv6/mcast.c

Next file: linux/net/ipv6/netfilter/ip6_tables.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/net/ipv6/mcast.c linux/net/ipv6/mcast.c
@@ -200,7 +200,7 @@
 {
 	if (atomic_dec_and_test(&mc->mca_refcnt)) {
 		in6_dev_put(mc->idev);
-		kfree_s(mc, sizeof(*mc));
+		kfree(mc);
 	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)