diff options
| author | Cong Wang <[email protected]> | 2014-05-22 18:57:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-05-22 21:23:00 +0000 |
| commit | b6ed5498601df40489606dbc14a9c7011c16630b (patch) | |
| tree | aa2efd7246b747db2c0fd430450a8de82c4bff50 /drivers/net/xen-netback/interface.c | |
| parent | ipv4: initialise the itag variable in __mkroute_input (diff) | |
| download | kernel-b6ed5498601df40489606dbc14a9c7011c16630b.tar.gz kernel-b6ed5498601df40489606dbc14a9c7011c16630b.zip | |
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 <[email protected]>
Tested-by: Jet Chen <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Steffen Klassert <[email protected]>
Cc: Antonio Quartulli <[email protected]>
Cc: Marek Lindner <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
