[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0704092332030.22295@yvahk01.tjqt.qr>
Date: Mon, 9 Apr 2007 23:33:36 +0200 (MEST)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@...el.com>
cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, jgarzik@...ox.com, cramerj@...el.com,
auke-jan.h.kok@...el.com, christopher.leech@...el.com
Subject: Re: [PATCH 2/2] NET: Multiqueue network device support implementation.
Hi,
On Apr 9 2007 14:28, Peter P Waskiewicz Jr wrote:
>@@ -3345,6 +3358,7 @@ void free_netdev(struct net_device *dev)
> {
> #ifdef CONFIG_SYSFS
> /* Compatibility with error handling in drivers */
>+ kfree((char *)dev->egress_subqueue);
> if (dev->reg_state == NETREG_UNINITIALIZED) {
> kfree((char *)dev - dev->padded);
> return;
>@@ -3356,6 +3370,7 @@ void free_netdev(struct net_device *dev)
> /* will free via device release */
> put_device(&dev->dev);
> #else
>+ kfree((char *)dev->egress_subqueue);
> kfree((char *)dev - dev->padded);
> #endif
> }
Ahem. Explain that cast.
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists