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
..
2008-07-08 14:16:02 -04:00
2008-07-08 14:16:02 -04:00
2009-01-29 16:00:02 -05:00
2009-01-29 16:00:02 -05:00
2009-03-27 20:12:55 -04:00
2009-03-27 20:13:22 -04:00
2009-03-27 20:13:05 -04:00
2007-10-10 16:52:34 -07:00
2009-01-29 16:00:03 -05:00
2009-01-29 16:00:03 -05:00
2009-02-27 14:51:42 -05:00
2008-07-14 14:30:07 -04:00
2009-01-29 16:00:00 -05:00
2008-03-06 15:30:46 -05:00
2009-03-27 20:13:03 -04:00
2007-05-05 11:46:38 -07:00
2008-10-27 17:06:16 -07:00
2009-02-27 14:51:45 -05:00
2009-03-27 20:12:41 -04:00
2009-03-27 20:13:21 -04:00
2009-03-27 20:13:13 -04:00
2008-11-26 09:47:03 -05:00
2009-02-27 14:51:42 -05:00
2009-01-29 16:00:03 -05:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2009-03-27 20:13:21 -04:00
2009-02-27 14:51:42 -05:00
2009-02-13 13:45:32 -05:00
2008-09-24 16:18:02 -04:00
2009-01-29 16:01:09 -05:00
2009-02-13 13:45:58 -05:00
2009-02-13 13:45:58 -05:00
2008-07-08 14:16:01 -04:00
2008-07-08 14:16:01 -04:00
2009-03-27 20:13:13 -04:00
2009-03-27 20:13:03 -04:00
2009-03-27 20:13:15 -04:00
2009-03-27 20:13:15 -04:00
2008-10-27 17:46:11 -04:00
2009-01-12 14:24:55 -05:00
2008-10-31 19:00:36 -04:00
2008-11-26 09:47:20 -05:00
2008-10-31 19:00:23 -04:00
2008-10-31 19:00:23 -04:00
2009-03-27 20:13:19 -04:00
2009-03-27 20:13:12 -04:00
2009-02-27 14:51:42 -05:00
2009-02-27 14:51:42 -05:00
2009-03-27 20:12:55 -04:00
2008-10-27 17:06:16 -07:00
2008-06-14 12:18:13 -04:00
2009-03-27 20:13:22 -04:00
2009-03-27 20:13:21 -04:00
2009-03-27 20:13:21 -04:00
2008-10-31 18:05:59 -04:00
2009-03-27 20:13:08 -04:00
2009-03-16 18:09:27 -04:00
2009-02-27 14:51:42 -05:00
2009-03-27 20:13:21 -04:00
2009-01-29 16:00:02 -05:00