From: Eliad Peller Date: Wed, 26 Feb 2014 12:46:35 +0000 (+0200) Subject: mac80211: fix vif name tracing X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~23^2^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9ac71bfcc5c937ff02765dc316cf5bc01d21d97;p=pandora-kernel.git mac80211: fix vif name tracing If sdata doesn't have a valid dev (e.g. in case of monitor vif), the vif_name field was initialized with (a length of) some short string, but later was set to a different, potentially larger one. This resulted in out-of-bounds write, which usually appeared as garbage in the trace log. Simply trace sdata->name, as it should always have the correct name for both cases. Signed-off-by: Eliad Peller Signed-off-by: Johannes Berg --- Reading git-diff-tree failed