diff options
| author | 2011-03-04 21:36:41 +0000 | |
|---|---|---|
| committer | 2011-03-05 12:52:09 +0100 | |
| commit | e44d8fe2b5c27ecc230f886d4cc49fcbd86f87a0 (patch) | |
| tree | 1ed6d2b1fa04a4fe333d8eda498b3e866129d4d3 /tools/perf/scripts/python | |
| parent | batman-adv: Remove unused hdr_size variable in route_unicast_packet() (diff) | |
| download | linux-dev-e44d8fe2b5c27ecc230f886d4cc49fcbd86f87a0.tar.xz linux-dev-e44d8fe2b5c27ecc230f886d4cc49fcbd86f87a0.zip | |
batman-adv: Disallow regular interface as mesh device
When trying to associate a net_device with another net_device which
already exists, batman-adv assumes that this interface is a fully
initialized batman mesh interface without checking it. The behaviour
when accessing data behind netdev_priv of a random net_device is
undefined and potentially dangerous.
Reported-by: Linus Lüssing <linus.luessing@ascom.ch>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
