[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4679B476.9060503@garzik.org>
Date: Wed, 20 Jun 2007 19:12:54 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Jay Vosburgh <fubar@...ibm.com>
CC: Stephen Hemminger <shemminger@...ux-foundation.org>,
"David S. Miller" <davem@...emloft.net>,
Dan Aloni <da-x@...atomic.org>,
Chad Tindel <ctindel@...rs.sourceforge.net>,
Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>,
netdev@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
bonding-devel@...ts.sourceforge.net
Subject: Re: [PATCH] bonding: Fix use after free in unregister path
Jay Vosburgh wrote:
> The following patch (based on a patch from Stephen Hemminger
> <shemminger@...ux-foundation.org>) removes use after free conditions in
> the unregister path for the bonding master. Without this patch, an
> operation of the form "echo -bond0 > /sys/class/net/bonding_masters"
> would trigger a NULL pointer dereference in sysfs. I was not able to
> induce the failure with the non-sysfs code path, but for consistency I
> updated that code as well.
>
> I also did some testing of the bonding /proc file being open
> while the bond is being deleted, and didn't see any problems there.
>
> Signed-off-by: Jay Vosburgh <fubar@...ibm.com>
applied to #upstream-fixes
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists