diff options
| author | Stefan Weil <[email protected]> | 2010-08-03 08:53:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-08-04 23:18:03 +0000 |
| commit | 2a1bc0d56b446104a3a728925b3a7afbef64afa7 (patch) | |
| tree | 2c484fa53420a3c673142551daccc45b0f803d10 /net/unix/sysctl_net_unix.c | |
| parent | via-velocity: do not use PCI resources before pci_enable_device() (diff) | |
| download | kernel-2a1bc0d56b446104a3a728925b3a7afbef64afa7.tar.gz kernel-2a1bc0d56b446104a3a728925b3a7afbef64afa7.zip | |
davinci_emac: Fix use after free in davinci_emac_remove
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 <[email protected]>
Cc: Chaithrika U S <[email protected]>
Cc: Sriramakrishnan <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
