Bob Copeland 0aa7fabbd5 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>
2016-04-05 21:34:50 +02:00
..
2015-08-14 17:49:53 +02:00
2015-05-11 19:16:04 +02:00
2015-10-14 18:40:26 +02:00
2016-04-05 12:12:41 +02:00
2015-11-03 10:42:47 +01:00
2015-05-11 14:51:29 +02:00