* [PATCH] 2.6.5-rc1-bk2 loopback.c
@ 2004-03-18 1:05 Don Fry
2004-03-18 1:13 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Don Fry @ 2004-03-18 1:05 UTC (permalink / raw)
To: jgarzik, netdev
Please apply this fix to backout an erroneous change in loopback.c
The statistics structure is allocated separately from the
loopback_dev structure, and the current code overwrites something
other than the statistics. In my case the scsi_cmd_pool structure.
--- linux-2.6.5-rc1-bk2/drivers/net/orig.loopback.c Wed Mar 17 08:52:52 2004
+++ linux-2.6.5-rc1-bk2/drivers/net/loopback.c Wed Mar 17 16:46:40 2004
@@ -123,7 +123,7 @@
*/
static int loopback_xmit(struct sk_buff *skb, struct net_device *dev)
{
- struct net_device_stats *stats = netdev_priv(dev);
+ struct net_device_stats *stats = dev->priv;
skb_orphan(skb);
--
Don Fry
brazilnut@us.ibm.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] 2.6.5-rc1-bk2 loopback.c
2004-03-18 1:05 [PATCH] 2.6.5-rc1-bk2 loopback.c Don Fry
@ 2004-03-18 1:13 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-03-18 1:13 UTC (permalink / raw)
To: Don Fry; +Cc: netdev
applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-18 1:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-18 1:05 [PATCH] 2.6.5-rc1-bk2 loopback.c Don Fry
2004-03-18 1:13 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).