Revision b6ed5498601df40489606dbc14a9c7011c16630b authored by Cong Wang on 22 May 2014, 18:57:17 UTC, committed by David S. Miller on 22 May 2014, 21:23:00 UTC
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>
1 parent fbdc0ad
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 328 bytes |
Makefile | -rw-r--r-- | 248 bytes |
dsa.c | -rw-r--r-- | 13.8 KB |
dsa_priv.h | -rw-r--r-- | 1.4 KB |
slave.c | -rw-r--r-- | 10.1 KB |
tag_dsa.c | -rw-r--r-- | 4.4 KB |
tag_edsa.c | -rw-r--r-- | 5.1 KB |
tag_trailer.c | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...