From: Linus Lüssing Date: Tue, 6 Aug 2013 18:21:15 +0000 (+0200) Subject: batman-adv: fix potential kernel paging errors for unicast transmissions X-Git-Tag: v3.11-rc6~11^2~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2c9488cedb666bc8206fbdcdc1575e0fbc5929;p=pandora-kernel.git batman-adv: fix potential kernel paging errors for unicast transmissions There are several functions which might reallocate skb data. Currently some places keep reusing their old ethhdr pointer regardless of whether they became invalid after such a reallocation or not. This potentially leads to kernel paging errors. This patch fixes these by refetching the ethdr pointer after the potential reallocations. Signed-off-by: Linus Lüssing Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed