summaryrefslogtreecommitdiff
path: root/net/mac80211/wme.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-07-16 01:44:05 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-08-22 20:29:53 (GMT)
commit62bf1d762e24006fa9b6c8d56a22cf47a2310af3 (patch)
treea541e842ae0aff4040e030f320b8e6f03479a22f /net/mac80211/wme.h
parent798ee9850e9bf94b4436f9c7238823322e326885 (diff)
downloadlinux-62bf1d762e24006fa9b6c8d56a22cf47a2310af3.tar.xz
mac80211: explicitly check skb->len
ieee80211_get_hdrlen_from_skb internally checks the skb is long enough to hold the full ieee80211_hdr, else it returns zero. Use ieee80211_hdrlen which always returns the hdrlen and check the remaining room in the skb explicitly when removing encryption headers or the qos control field. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wme.h')
0 files changed, 0 insertions, 0 deletions