Johannes Berg a220858d30 mac80211: add skb length sanity checking
We just found a bug in zd1211rw where it would reject
packets in the ->tx() method but leave them modified,
which would cause retransmit attempts with completely
bogus skbs, eventually leading to a panic due to not
having enough headroom in those.

This patch adds a sanity check to mac80211 to catch
such driver mistakes; in this case we warn and drop
the skb.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-03-27 20:13:22 -04:00
..
2009-03-21 19:06:50 -07:00
2009-03-17 13:10:52 -07:00
2009-01-04 17:29:21 -08:00
2009-03-21 13:36:17 -07:00
2009-03-21 19:19:16 -07:00
2009-03-03 21:39:40 -08:00
2009-03-21 13:36:17 -07:00
2009-03-21 13:41:09 -07:00
2009-02-26 23:43:35 -08:00