summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2016-03-19 03:11:28 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-04-05 21:34:50 +0200
commit0aa7fabbd5d9da1f8a8fdc3e2837c532bcfa5664 (patch)
treebb69412b2a94fe667a655be8ef40f974cb5fab9a /include/video
parentmac80211: mesh: fix crash in mesh_path_timer (diff)
downloadlinux-0aa7fabbd5d9da1f8a8fdc3e2837c532bcfa5664.tar.xz
linux-0aa7fabbd5d9da1f8a8fdc3e2837c532bcfa5664.zip
mac80211: mesh: handle failed alloc for rmc cache
In the unlikely case that mesh_rmc_init() fails with -ENOMEM, the rmc pointer will be left as NULL but the interface is still operational because ieee80211_mesh_init_sdata() is not allowed to fail. If this happens, we would blindly dereference rmc when checking whether a multicast frame is in the cache. Instead just drop the frames in the forwarding path. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions