diff options
author | Linus Lüssing <linus.luessing@web.de> | 2013-07-27 03:24:44 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2013-08-17 20:02:32 +0200 |
commit | 50fa3b31f4700deb1a860fa1a04016b889765323 (patch) | |
tree | b830adeed468babf3057a0296e30efb182c03cf5 /net/irda | |
parent | 0f7dd1aa8f959216f1faa71513b9d3c1a9065e5a (diff) | |
download | linux-stable-50fa3b31f4700deb1a860fa1a04016b889765323.tar.gz linux-stable-50fa3b31f4700deb1a860fa1a04016b889765323.tar.bz2 linux-stable-50fa3b31f4700deb1a860fa1a04016b889765323.zip |
batman-adv: check return type of unicast packet preparations
batadv_unicast(_4addr)_prepare_skb might reallocate the skb's data.
And if it tries to do so then this can potentially fail.
We shouldn't continue working on this skb in such a case.
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions