summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-09 21:48:36 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 09:47:07 -0500
commit7599b39d52b21cd13dcc53e395b459f826fb4728 (patch)
tree640513697af29776e9050eaecef69d10e5145abd /samples
parentcbc0238c26e7a18eff2892ab9a24fa8eed5dc333 (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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions