diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-10-26 00:36:40 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-26 22:52:42 +0200 |
commit | 9b395bc3be1cebf0144a127c7e67d56dbdac0930 (patch) | |
tree | 9cbe0d8566b890f43cd8d9f884f8b78104775f29 /tools/virtio | |
parent | 4a4f1a5808c8bb0b72a4f6e5904c53fb8c9cd966 (diff) | |
download | op-kernel-dev-9b395bc3be1cebf0144a127c7e67d56dbdac0930.zip op-kernel-dev-9b395bc3be1cebf0144a127c7e67d56dbdac0930.tar.gz |
mac80211: verify that skb data is present
A number of places in the mesh code don't check that
the frame data is present and in the skb header when
trying to access. Add those checks and the necessary
pskb_may_pull() calls. This prevents accessing data
that doesn't actually exist.
To do this, export ieee80211_get_mesh_hdrlen() to be
able to use it in mac80211.
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions