diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-09 21:48:36 -0800 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-04-17 16:16:15 -0400 |
commit | 1ccf475f3f27eed4a82e1d79ef5d5984ebaf94a6 (patch) | |
tree | f40f835ce957dd5ee6a2f81cf081dc5441802272 /net/mac80211/pm.c | |
parent | 352247f7d619d947d6f6ce05e18216a4fede2a7c (diff) |
x25: Do not reference freed memory.
commit 96642d42f076101ba98866363d908cab706d156c upstream.
In x25_link_free(), we destroy 'nb' before dereferencing
'nb->dev'. Don't do this, because 'nb' might be freed
by then.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/mac80211/pm.c')
0 files changed, 0 insertions, 0 deletions