aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorEliad Peller <[email protected]>2014-02-26 12:46:35 +0000
committerJohannes Berg <[email protected]>2014-05-09 12:35:40 +0000
commitf9ac71bfcc5c937ff02765dc316cf5bc01d21d97 (patch)
tree9425cce15d627f31fe20a1729e05c44a5432d649 /drivers/net/xen-netback/interface.c
parentmac80211: allow VHT with peers not capable of 40MHz (diff)
downloadkernel-f9ac71bfcc5c937ff02765dc316cf5bc01d21d97.tar.gz
kernel-f9ac71bfcc5c937ff02765dc316cf5bc01d21d97.zip
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 <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions