From: David Miller on 4 Aug 2010 00:40 From: Stefan Weil <weil(a)mail.berlios.de> Date: Tue, 3 Aug 2010 20:53:45 +0200 > free_netdev finally calls kfree which makes the contents > of ndev and priv (private data contained in ndev) invalid. > > So iounmap should be called before free_netdev. > > Cc: David S. Miller <davem(a)davemloft.net> > Cc: Chaithrika U S <chaithrika(a)ti.com> > Cc: Sriramakrishnan <srk(a)ti.com> > Cc: Kevin Hilman <khilman(a)deeprootsystems.com> > Cc: netdev(a)vger.kernel.org > Cc: linux-kernel(a)vger.kernel.org > Signed-off-by: Stefan Weil <weil(a)mail.berlios.de> I'll apply this, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: drivers/input: Use pr_<level> Next: SLUB: The Unified slab allocator (V3) |