Hauke Mehrtens
64f54741e3
kernel: bgmac: rework patch checking packet length
...
This bgmac patch was an attempt to fix/workaround bug reported in
https://dev.openwrt.org/ticket/7198 noticed on WNR3500L.
Patch assumed length reported by the hardware was 0 and was trying to
read it until getting a different value. This was actually the opposite.
Lenghts were some invalid & huge values that resulted in skb_over_panic.
For example:
skbuff: skb_over_panic: text:83b21074 len:57222 (...)
skbuff: skb_over_panic: text:87af1024 len:43226 (...)
skbuff: skb_over_panic: text:87af5024 len:8739 (...)
So instead of that not-working patch checking for 0, write a new one
checking for huge values. In case something like that happens, dump
hardware state and drop the packet.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 40424
2014-04-08 19:50:17 +00:00
..
2013-10-24 13:50:11 +00:00
2014-02-04 22:54:29 +00:00
2014-03-30 19:08:37 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-12-14 17:37:14 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-11-04 18:37:05 +00:00
2013-11-04 18:37:05 +00:00
2013-11-04 18:37:05 +00:00
2013-10-24 13:50:11 +00:00
2013-11-04 18:37:05 +00:00
2013-11-04 18:37:05 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-01-24 17:14:59 +00:00
2013-10-24 13:50:11 +00:00
2013-11-04 18:37:05 +00:00
2013-11-04 18:37:05 +00:00
2013-10-24 13:50:11 +00:00
2014-01-24 17:14:59 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-11-27 12:31:05 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-12-14 17:37:14 +00:00
2013-12-16 08:16:09 +00:00
2013-11-04 18:37:05 +00:00
2013-10-24 13:50:11 +00:00
2013-12-16 07:51:19 +00:00
2013-12-16 07:51:19 +00:00
2013-12-16 07:51:19 +00:00
2014-01-28 17:30:25 +00:00
2014-01-28 17:30:25 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-28 16:06:47 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-27 20:47:04 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-03-19 14:26:48 +00:00
2013-10-24 13:50:11 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-02-13 12:57:36 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-02-13 12:57:36 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-02-13 12:57:36 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2014-01-20 10:22:59 +00:00
2013-10-24 13:50:11 +00:00
2014-02-04 22:55:23 +00:00
2014-02-04 22:55:23 +00:00
2014-04-08 19:50:17 +00:00
2013-10-24 13:50:11 +00:00
2014-02-08 16:32:37 +00:00
2013-12-14 17:37:14 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-29 02:19:05 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-12-14 17:37:14 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-10-24 13:50:11 +00:00
2013-11-27 12:29:13 +00:00