Felix Fietkau
b7b146c9c9
ath9k: fix invalid descriptor discarding
...
Only set sc->rx.discard_next to rx_stats->rs_more when actually
discarding the current descriptor.
Also, fix a detection of broken descriptors:
First the code checks if the current descriptor is not done.
Then it checks if the next descriptor is done.
Add a check that afterwards checks the first descriptor again, because
it might have been completed in the mean time.
This fixes a regression introduced in
commit 723e711356
"ath9k: fix handling of broken descriptors"
Cc: stable@vger.kernel.org
Reported-by: Marco André Dinis <marcoandredinis@gmail.com >
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2014-02-25 14:54:11 -05:00
..
2013-09-26 15:13:38 -04:00
2013-10-14 13:39:58 -04:00
2013-08-28 13:58:27 -04:00
2013-12-18 15:23:19 -05:00
2014-01-03 15:37:00 -05:00
2013-12-09 15:37:57 -05:00
2013-01-07 15:16:53 -05:00
2013-10-14 13:39:59 -04:00
2013-01-07 15:16:53 -05:00
2013-10-14 13:39:58 -04:00
2014-01-03 15:36:57 -05:00
2013-06-03 15:55:46 -04:00
2014-01-06 14:08:41 -05:00
2013-12-18 15:23:27 -05:00
2013-08-05 14:52:43 -04:00
2013-12-09 15:37:59 -05:00
2013-12-09 15:37:58 -05:00
2014-01-16 14:55:42 -05:00
2014-02-04 15:30:07 -05:00
2013-12-18 15:23:44 -05:00
2014-01-03 15:37:00 -05:00
2013-12-19 14:41:56 -05:00
2013-09-26 15:13:47 -04:00
2012-10-29 15:19:30 -04:00
2013-05-29 15:22:42 -04:00
2014-01-03 15:37:01 -05:00
2014-01-03 15:37:01 -05:00
2013-09-26 15:13:47 -04:00
2013-12-02 14:24:53 -05:00
2013-12-09 15:37:57 -05:00
2013-12-09 15:37:58 -05:00
2013-12-09 15:37:56 -05:00
2014-02-20 15:53:20 -05:00
2013-12-02 14:25:02 -05:00
2013-12-09 15:37:59 -05:00
2013-12-09 15:38:00 -05:00
2013-12-02 14:25:01 -05:00
2013-12-09 15:37:56 -05:00
2014-01-13 14:50:05 -05:00
2014-01-03 15:36:58 -05:00
2013-12-18 15:23:22 -05:00
2012-11-21 14:16:01 -05:00
2013-10-18 14:03:53 -04:00
2013-10-18 14:03:53 -04:00
2013-12-18 15:23:17 -05:00
2013-10-14 13:39:59 -04:00
2014-01-16 14:55:41 -05:00
2014-01-13 14:50:04 -05:00
2014-01-13 14:50:05 -05:00
2013-11-11 14:42:43 -05:00
2013-10-18 14:03:54 -04:00
2013-12-18 15:23:19 -05:00
2013-10-18 14:03:54 -04:00
2013-12-18 15:23:27 -05:00
2013-12-18 15:23:27 -05:00
2013-12-18 15:23:27 -05:00
2012-12-10 15:49:57 -05:00
2012-12-10 15:49:56 -05:00
2013-12-18 15:23:22 -05:00
2013-08-15 16:08:00 -04:00
2013-12-18 15:23:32 -05:00
2013-09-26 15:13:35 -04:00
2013-12-18 15:23:02 -05:00
2014-02-04 15:30:07 -05:00
2014-02-04 15:30:07 -05:00
2014-01-16 14:55:45 -05:00
2013-01-11 14:12:01 -05:00
2014-02-04 15:30:07 -05:00
2014-01-03 15:36:58 -05:00
2014-02-25 14:54:11 -05:00
2014-01-23 14:02:45 -05:00
2014-02-04 15:30:07 -05:00
2014-01-13 14:50:03 -05:00
2014-01-03 15:36:58 -05:00
2014-01-03 15:36:57 -05:00
2013-12-18 15:23:19 -05:00
2014-01-23 14:02:45 -05:00
2014-01-13 14:50:03 -05:00
2013-12-18 15:23:21 -05:00
2012-10-29 15:19:30 -04:00
2014-01-09 10:56:40 -05:00
2013-07-24 11:02:39 -04:00
2013-09-26 15:13:35 -04:00
2013-06-12 10:20:58 -04:00
2014-02-25 14:54:11 -05:00
2014-01-03 15:37:00 -05:00
2014-01-03 15:36:56 -05:00
2013-12-18 15:23:37 -05:00
2013-12-11 10:56:22 -05:00
2013-09-26 15:13:48 -04:00
2014-01-03 15:36:58 -05:00
2014-02-24 14:55:27 -05:00