diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-02-21 10:20:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-28 12:22:21 -0800 |
commit | b093dd96844186cd03318aaf0cd96f91db3970ef (patch) | |
tree | a1cdddbb0ef6e3860bd9d9b44e13736d3776931a /Documentation/networking/00-INDEX | |
parent | macb: don't use platform_set_drvdata() on a net_device (diff) | |
download | linux-dev-b093dd96844186cd03318aaf0cd96f91db3970ef.tar.xz linux-dev-b093dd96844186cd03318aaf0cd96f91db3970ef.zip |
dnet: fix wrong use of platform_set_drvdata()
platform_set_drvdata() was used with argument of incorrect type and
could cause memory corruption. Moreover, because of not setting drvdata
in the correct place not all resources were freed upon module unload.
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/00-INDEX')
0 files changed, 0 insertions, 0 deletions