Skip to content
Snippets Groups Projects
Commit 46401503 authored by Ankur Bansal's avatar Ankur Bansal
Browse files

lrdp_v2 : fix list walk function in linux_list.py

fix list walk function in linux_list.py

Change-Id: I78edb68c57c6623fca39266d30342688e1a5cf44
parent 52159953
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2013-2014, 2016, The Linux Foundation. All rights reserved.
# Copyright (c) 2013-2014, 2016-2017, The Linux Foundation. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and
......@@ -78,7 +78,7 @@ class ListWalker(object):
return
while True:
if node_addr == 0:
if node_addr == 0 or node_addr == None :
break
funcargs = [node_addr - self.list_elem_offset] + list(args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment