Dan Carpenter
92c1ff1fa7
ipw2x00: signedness bug handling frame length
...
This is basically just a cleanup. Large positive numbers get counted as
negative but then get implicitly cast to positive again for the checks
that matter.
This does make a small difference in ipw_handle_promiscuous_rx() when we
test "if (unlikely((len + IPW_RX_FRAME_SIZE) > skb_tailroom(rxb->skb)))"
It should return there, but we don't return until a couple lines later
when we test "if (len > IPW_RX_BUF_SIZE - sizeof(struct ipw_rt_hdr)) {".
The difference is that in the second test the sizeof() means that there
is an implied cast to unsigned.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com >
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com >
Signed-off-by: John W. Linville <linville@tuxdriver.com >
2012-01-13 14:40:56 -05:00
..
2012-01-11 18:50:26 -08:00
2012-01-08 13:10:57 -08:00
2012-01-10 10:19:17 -08:00
2011-11-26 16:40:30 -05:00
2012-01-12 20:13:11 -08:00
2011-12-13 15:47:41 -05:00
2012-01-12 15:44:45 +10:30
2012-01-08 13:10:57 -08:00
2012-01-03 22:54:07 -05:00
2012-01-12 20:42:54 -08:00
2011-12-28 21:35:06 +08:00
2012-01-06 18:15:25 -08:00
2012-01-11 18:53:33 -08:00
2011-12-21 14:29:42 -08:00
2012-01-10 22:01:27 -08:00
2011-12-21 09:51:23 +01:00
2012-01-09 14:44:15 -08:00
2012-01-08 13:21:22 -08:00
2012-01-12 08:00:30 -08:00
2012-01-10 10:19:57 -08:00
2012-01-10 11:04:36 -08:00
2012-01-11 18:53:05 -08:00
2012-01-09 12:09:47 -08:00
2012-01-08 13:39:24 -08:00
2012-01-10 17:37:20 -08:00
2011-11-29 15:46:15 +00:00
2011-11-16 17:43:12 -05:00
2012-01-08 14:05:48 -08:00
2012-01-12 12:40:41 -08:00
2012-01-10 11:08:21 -08:00
2012-01-10 14:57:20 -08:00
2012-01-10 16:30:49 -08:00
2012-01-12 15:44:47 +10:30
2012-01-07 12:03:30 -08:00
2012-01-11 18:51:55 -08:00
2012-01-10 11:08:21 -08:00
2012-01-10 10:36:08 -08:00
2012-01-12 08:00:30 -08:00
2012-01-09 12:08:59 -08:00
2012-01-09 14:44:15 -08:00
2012-01-12 20:13:11 -08:00
2012-01-13 14:40:56 -05:00
2012-01-07 12:03:30 -08:00
2012-01-10 10:29:41 +08:00
2012-01-06 08:02:58 -08:00
2012-01-11 18:50:26 -08:00
2012-01-12 20:13:12 -08:00
2012-01-11 18:50:26 -08:00
2011-12-28 10:14:04 +00:00
2012-01-03 09:10:09 +01:00
2012-01-11 19:13:40 -08:00
2012-01-06 12:11:20 -08:00
2012-01-11 18:53:05 -08:00
2011-12-06 11:38:32 +01:00
2011-12-09 07:50:29 -08:00
2012-01-06 11:01:09 -08:00
2012-01-11 19:13:40 -08:00
2012-01-12 15:44:42 +10:30
2011-12-04 10:46:58 -08:00
2012-01-11 18:50:26 -08:00
2012-01-11 23:29:20 -08:00
2012-01-09 14:30:28 -08:00
2011-12-14 14:35:41 -05:00
2012-01-10 11:04:36 -08:00
2011-12-06 06:00:59 +00:00
2012-01-11 23:29:20 -08:00
2012-01-11 18:50:26 -08:00
2012-01-10 10:48:28 -08:00
2012-01-09 12:09:47 -08:00
2012-01-12 20:13:03 -08:00
2012-01-12 15:44:47 +10:30
2011-12-09 19:19:18 -08:00
2012-01-10 10:29:23 -08:00
2012-01-10 11:04:36 -08:00
2012-01-02 13:04:55 +01:00
2011-11-26 17:05:33 -08:00