diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-08 11:58:30 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-10 18:44:58 +0200 |
commit | 1bad53824305807bb5cf49d6b588dd9d867586c6 (patch) | |
tree | 55f046a4d3c0eec4f2f16b18b586c5e245921a03 /net/dns_resolver/internal.h | |
parent | b22cfcfcae5b2c1e9b43543b6a23e5ef517de8f8 (diff) |
mac80211: validate skb->dev in the tx status path
skb->dev might contain a stale reference to a device that was already
deleted, and using it unchecked can lead to invalid pointer accesses.
Since this is only used for nl80211 tx, iterate over active interfaces
to find a match for skb->dev, and discard the tx status if the device
is gone.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/dns_resolver/internal.h')
0 files changed, 0 insertions, 0 deletions