patch-2.4.0-test5 linux/net/packet/af_packet.c

Next file: linux/net/socket.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/net/packet/af_packet.c linux/net/packet/af_packet.c
@@ -1218,7 +1218,7 @@
 					packet_dev_mc(dev, ml, -1);
 					dev_put(dev);
 				}
-				kfree_s(ml, sizeof(*ml));
+				kfree(ml);
 			}
 			rtnl_unlock();
 			return 0;
@@ -1243,7 +1243,7 @@
 			packet_dev_mc(dev, ml, -1);
 			dev_put(dev);
 		}
-		kfree_s(ml, sizeof(*ml));
+		kfree(ml);
 	}
 	rtnl_unlock();
 }

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