From: Linus Lüssing Date: Sat, 27 Jul 2013 01:24:44 +0000 (+0200) Subject: batman-adv: check return type of unicast packet preparations X-Git-Tag: v3.11-rc7~11^2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50fa3b31f4700deb1a860fa1a04016b889765323;p=pandora-kernel.git 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 Signed-off-by: Marek Lindner Acked-by: Antonio Quartulli Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed