summaryrefslogtreecommitdiff
path: root/lib/plist.c
diff options
context:
space:
mode:
authorCong Wang <cwang@twopensource.com>2014-05-22 18:57:17 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-05-22 21:23:00 (GMT)
commitb6ed5498601df40489606dbc14a9c7011c16630b (patch)
treeaa2efd7246b747db2c0fd430450a8de82c4bff50 /lib/plist.c
parentfbdc0ad095c0a299e9abf5d8ac8f58374951149a (diff)
downloadlinux-b6ed5498601df40489606dbc14a9c7011c16630b.tar.xz
batman: fix a bogus warning from batadv_is_on_batman_iface()
batman tries to search dev->iflink to check if it's a batman interface, but ->iflink could be 0, which is not a valid ifindex. It should just avoid iflink == 0 case. Reported-by: Jet Chen <jet.chen@intel.com> Tested-by: Jet Chen <jet.chen@intel.com> Cc: David S. Miller <davem@davemloft.net> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Antonio Quartulli <antonio@open-mesh.com> Cc: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Cong Wang <cwang@twopensource.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions