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 |
---|---|---|
partitions | ||
Kconfig | -rw-r--r-- | 3.6 KB |
Kconfig.iosched | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 844 bytes |
blk-cgroup.c | -rw-r--r-- | 28.8 KB |
blk-cgroup.h | -rw-r--r-- | 16.8 KB |
blk-core.c | -rw-r--r-- | 87.8 KB |
blk-exec.c | -rw-r--r-- | 3.4 KB |
blk-flush.c | -rw-r--r-- | 15.1 KB |
blk-integrity.c | -rw-r--r-- | 11.7 KB |
blk-ioc.c | -rw-r--r-- | 10.2 KB |
blk-iopoll.c | -rw-r--r-- | 5.9 KB |
blk-lib.c | -rw-r--r-- | 7.3 KB |
blk-map.c | -rw-r--r-- | 8.3 KB |
blk-merge.c | -rw-r--r-- | 14.1 KB |
blk-mq-cpu.c | -rw-r--r-- | 1.4 KB |
blk-mq-cpumap.c | -rw-r--r-- | 2.1 KB |
blk-mq-sysfs.c | -rw-r--r-- | 10.1 KB |
blk-mq-tag.c | -rw-r--r-- | 4.7 KB |
blk-mq-tag.h | -rw-r--r-- | 894 bytes |
blk-mq.c | -rw-r--r-- | 33.4 KB |
blk-mq.h | -rw-r--r-- | 1.5 KB |
blk-settings.c | -rw-r--r-- | 26.4 KB |
blk-softirq.c | -rw-r--r-- | 4.4 KB |
blk-sysfs.c | -rw-r--r-- | 16.1 KB |
blk-tag.c | -rw-r--r-- | 9.8 KB |
blk-throttle.c | -rw-r--r-- | 45.7 KB |
blk-timeout.c | -rw-r--r-- | 5.1 KB |
blk.h | -rw-r--r-- | 7.8 KB |
bsg-lib.c | -rw-r--r-- | 6.0 KB |
bsg.c | -rw-r--r-- | 23.6 KB |
cfq-iosched.c | -rw-r--r-- | 119.7 KB |
cmdline-parser.c | -rw-r--r-- | 4.9 KB |
compat_ioctl.c | -rw-r--r-- | 20.8 KB |
deadline-iosched.c | -rw-r--r-- | 11.3 KB |
elevator.c | -rw-r--r-- | 24.1 KB |
genhd.c | -rw-r--r-- | 44.1 KB |
ioctl.c | -rw-r--r-- | 10.7 KB |
noop-iosched.c | -rw-r--r-- | 2.7 KB |
partition-generic.c | -rw-r--r-- | 14.0 KB |
scsi_ioctl.c | -rw-r--r-- | 19.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...