summaryrefslogtreecommitdiffstats
path: root/net/packet/af_packet.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-21 22:00:56 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-21 22:00:56 +0000
commit168660f24dfc46c2702acbe4701a446f42a59578 (patch)
treef431368afbf6b1b71809cf3fd904d800ea126f4d /net/packet/af_packet.c
parent6420f767924fa73b0ea267864d96820815f4ba5a (diff)
Merge with Linux 2.4.0-test5-pre3.
Diffstat (limited to 'net/packet/af_packet.c')
-rw-r--r--net/packet/af_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 3b2df4f55..b342c4f14 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -1218,7 +1218,7 @@ static int packet_mc_drop(struct sock *sk, struct packet_mreq *mreq)
packet_dev_mc(dev, ml, -1);
dev_put(dev);
}
- kfree_s(ml, sizeof(*ml));
+ kfree(ml);
}
rtnl_unlock();
return 0;
@@ -1243,7 +1243,7 @@ static void packet_flush_mclist(struct sock *sk)
packet_dev_mc(dev, ml, -1);
dev_put(dev);
}
- kfree_s(ml, sizeof(*ml));
+ kfree(ml);
}
rtnl_unlock();
}