Shaddy Baddah
cde6901b7b
zd1211rw: use unaligned safe memcmp() in-place of compare_ether_addr()
...
Under my 2.6.28-rc6 sparc64, when associating to an AP through my
zd1211rw device, I was seeing kernel log messages like (not exact output):
Kernel unaligned access at TPC[10129b68] zd_mac_rx+0x144/0x32c [zd1211rw]
For the zd1211rw module, on RX, the 80211 packet will be located after
the PLCP header in the skb data buffer. The PLCP header being 5 bytes
long, the 80211 header will start unaligned from an aligned skb
buffer.
As per Documentation/unaligned-memory-access.txt, we must replace the
not unaligned() safe compare_ether_addr() with memcmp() to protect
architectures that require alignment.
Signed-off-by: Shaddy Baddah <shaddy_baddah@hotmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-05 09:18:35 -05:00
..
2008-10-13 19:01:08 -07:00
2008-09-24 18:59:00 -04:00
2008-10-31 00:47:56 -04:00
2008-11-14 18:18:55 -05:00
2008-11-20 04:18:25 -08:00
2008-10-31 00:46:12 -04:00
2008-11-23 15:47:24 -08:00
2008-10-29 17:29:44 +01:00
2008-11-12 10:56:31 -08:00
2008-11-16 01:35:56 -08:00
2008-11-23 15:46:55 -08:00
2008-10-27 14:49:55 -04:00
2008-10-13 18:41:01 -07:00
2008-11-03 15:23:02 -05:00
2008-10-16 16:52:05 +02:00
2008-10-27 14:49:58 -04:00
2008-11-23 15:46:55 -08:00
2008-11-01 21:30:50 -07:00
2008-10-08 16:53:40 -07:00
2008-12-02 15:55:05 -08:00
2008-08-07 09:55:48 +01:00
2008-12-01 11:01:54 -08:00
2008-11-11 03:49:53 -05:00
2008-09-24 18:59:01 -04:00
2008-12-02 15:55:05 -08:00
2008-11-25 01:00:47 -08:00
2008-10-22 07:00:49 -04:00
2008-11-07 03:33:45 -05:00
2008-09-24 18:48:56 -04:00
2008-10-13 19:01:08 -07:00
2008-10-27 14:49:02 -04:00
2008-11-20 01:48:46 -08:00
2008-10-30 23:54:35 -07:00
2008-12-05 09:18:35 -05:00
2008-10-16 16:52:05 +02:00
2008-10-13 19:01:08 -07:00
2008-07-04 08:47:51 -04:00
2008-09-24 18:59:00 -04:00
2008-04-29 01:55:11 -04:00
2008-11-07 03:33:44 -05:00
2008-10-13 19:01:08 -07:00
2008-08-07 02:23:19 -04:00
2008-08-07 02:23:19 -04:00
2008-06-10 18:20:17 -04:00
2008-10-22 07:00:28 -04:00
2008-10-22 07:00:28 -04:00
2008-08-07 02:21:05 -04:00
2008-07-04 08:47:51 -04:00
2008-08-07 02:21:03 -04:00
2008-05-18 13:28:49 -07:00
2008-06-11 21:58:34 -04:00
2008-03-05 18:50:41 -08:00
2008-08-14 04:26:38 -04:00
2008-05-13 01:35:24 -04:00
2008-10-31 00:47:43 -04:00
2008-05-18 13:28:49 -07:00
2008-07-20 17:24:38 -07:00
2008-03-17 07:49:27 -04:00
2008-06-11 21:58:32 -04:00
2008-08-07 02:23:19 -04:00
2008-10-12 21:02:19 -07:00
2008-10-08 16:29:57 -07:00
2008-10-22 06:22:08 -04:00
2008-06-27 09:09:15 -04:00
2008-10-12 21:15:17 -07:00
2008-10-08 16:29:57 -07:00
2008-07-18 17:54:17 -07:00
2008-10-09 12:22:38 -07:00
2008-12-03 00:36:15 -08:00
2008-12-03 00:36:15 -08:00
2008-08-13 16:05:38 -07:00
2008-08-13 16:05:37 -07:00
2008-08-13 16:01:48 -07:00
2008-11-03 16:46:19 -08:00
2008-08-14 04:26:38 -04:00
2008-08-13 16:05:37 -07:00
2008-11-03 16:46:58 -08:00
2008-08-13 16:05:37 -07:00
2008-09-03 14:38:00 -07:00
2008-09-22 19:27:10 -07:00
2008-09-22 19:27:10 -07:00
2008-10-08 16:29:57 -07:00
2008-10-16 11:21:32 -07:00
2008-08-07 02:23:19 -04:00
2008-06-11 21:58:34 -04:00
2008-03-26 00:18:43 -04:00
2008-06-28 10:23:38 -04:00
2008-02-01 20:54:03 +11:00
2008-10-22 06:22:15 -04:00
2008-06-24 22:57:16 -04:00
2008-11-16 01:45:24 -08:00
2008-01-28 15:07:59 -08:00
2008-08-07 02:23:19 -04:00
2008-10-13 19:01:08 -07:00
2008-01-28 15:08:03 -08:00
2008-12-03 21:16:06 -08:00
2008-03-17 07:56:38 -04:00
2008-08-07 02:23:19 -04:00
2008-10-08 17:09:54 -07:00
2008-10-15 11:10:00 -06:00
2008-10-22 07:26:49 -04:00
2008-05-01 11:05:58 -06:00
2008-07-23 15:11:29 +10:00
2008-05-01 08:08:36 -07:00
2008-10-01 06:12:56 -07:00
2008-07-16 17:57:47 -05:00
2008-10-31 00:59:46 -04:00
2008-10-31 00:59:46 -04:00
2008-08-14 04:26:38 -04:00
2008-11-14 18:18:30 -05:00
2008-08-27 05:55:19 -04:00
2008-05-22 14:12:40 -04:00
2008-01-28 15:07:12 -08:00
2008-11-25 21:05:51 -08:00
2008-07-22 17:50:44 -04:00
2008-06-11 21:58:32 -04:00
2008-10-13 19:01:08 -07:00
2008-08-27 05:36:57 -04:00
2008-07-25 15:44:44 +10:00
2008-07-31 16:58:50 -07:00
2008-03-17 08:11:41 -04:00
2008-11-19 15:54:38 -08:00
2008-08-14 04:26:38 -04:00
2008-07-26 12:00:03 -07:00
2008-04-25 02:08:54 -04:00
2008-11-19 15:50:59 -08:00
2008-10-08 19:51:33 -07:00
2008-11-13 22:37:27 -07:00
2008-04-25 02:08:51 -04:00
2008-10-08 16:56:48 -07:00
2008-10-31 00:00:33 -07:00
2008-08-07 02:23:19 -04:00
2008-05-18 13:28:49 -07:00
2008-06-11 21:58:33 -04:00
2008-10-08 16:29:57 -07:00
2008-10-08 16:29:57 -07:00
2008-01-28 15:07:12 -08:00
2008-10-13 19:01:08 -07:00
2008-06-11 21:58:37 -04:00
2008-11-26 15:30:48 -08:00
2008-11-21 16:33:25 -08:00
2008-09-24 18:59:00 -04:00
2008-09-24 18:59:00 -04:00
2008-11-20 01:39:52 -08:00
2008-10-11 12:39:35 -07:00
2008-08-29 02:13:32 -07:00
2008-10-08 17:09:54 -07:00
2008-07-22 17:50:44 -04:00
2008-03-17 07:56:33 -04:00
2008-09-24 20:49:00 -04:00
2008-08-01 12:46:41 -07:00
2008-12-03 22:18:59 -08:00
2008-08-07 02:23:19 -04:00
2008-03-26 00:18:00 -04:00
2008-08-07 02:23:19 -04:00
2008-11-14 14:47:29 -08:00
2008-11-14 14:44:08 -08:00
2008-05-30 22:19:22 -04:00
2008-03-05 16:34:41 -06:00
2008-07-26 12:00:03 -07:00
2008-03-05 16:34:41 -06:00
2008-09-24 18:59:00 -04:00
2008-05-25 23:26:10 -07:00
2008-04-01 11:16:04 -07:00
2008-07-20 17:12:34 -07:00
2008-01-28 15:11:27 -08:00
2008-10-16 12:40:26 -07:00
2008-08-14 04:26:38 -04:00
2008-07-20 17:12:34 -07:00
2008-10-30 23:35:02 -07:00
2008-11-28 22:12:02 -08:00
2008-10-17 02:38:35 +11:00
2008-06-03 15:00:14 -04:00
2008-06-03 15:00:14 -04:00
2008-07-29 16:55:08 -04:00
2008-06-03 15:00:27 -04:00
2008-11-16 01:38:18 -08:00
2008-08-07 02:11:14 -04:00
2008-09-24 20:48:08 -04:00
2008-10-26 09:35:05 -07:00
2008-04-29 19:40:28 +10:00
2008-05-22 06:26:21 -04:00
2008-09-24 18:59:00 -04:00
2008-09-24 18:49:04 -04:00
2008-04-16 20:41:44 -04:00
2008-10-08 16:29:57 -07:00
2008-05-30 22:07:17 -04:00
2008-04-25 02:08:54 -04:00
2008-11-20 01:28:30 -08:00
2008-08-07 02:20:57 -04:00
2008-10-22 07:00:34 -04:00
2008-11-23 15:46:55 -08:00
2008-10-08 16:02:40 -07:00
2008-10-12 20:59:48 -07:00
2008-08-07 01:55:50 -04:00
2008-01-28 15:11:27 -08:00
2008-07-20 17:12:34 -07:00
2008-11-30 10:03:37 -08:00
2008-10-11 10:09:45 -07:00
2008-11-30 10:03:37 -08:00
2008-10-22 06:22:13 -04:00
2008-04-25 02:08:54 -04:00
2008-11-23 15:46:55 -08:00
2008-04-16 20:06:50 -04:00
2008-07-07 22:40:42 -07:00
2008-08-02 04:39:33 +09:00
2008-08-07 02:23:19 -04:00
2008-05-18 13:28:49 -07:00
2008-10-11 12:39:35 -07:00
2008-08-29 02:13:33 -07:00
2008-09-24 18:59:01 -04:00
2008-11-26 01:17:01 -08:00
2008-01-28 15:07:10 -08:00
2008-08-31 01:23:17 -07:00
2008-08-29 02:14:29 -07:00
2008-08-31 20:59:37 -07:00
2008-08-31 01:23:17 -07:00
2008-08-29 02:14:43 -07:00
2008-09-01 01:48:52 -07:00
2008-10-12 21:01:53 -07:00
2008-07-06 20:48:41 -07:00
2008-09-24 18:59:00 -04:00
2008-10-08 16:29:57 -07:00
2008-10-08 16:29:57 -07:00
2008-10-13 19:01:08 -07:00
2008-05-30 22:18:02 -04:00
2008-09-24 18:59:00 -04:00
2008-11-01 09:49:46 -07:00
2008-08-14 04:26:38 -04:00
2008-11-14 18:18:17 -05:00
2008-10-08 16:29:57 -07:00
2008-09-24 18:59:00 -04:00
2008-05-06 12:02:08 -04:00
2008-03-26 04:39:53 +09:00
2008-09-03 10:24:04 -04:00
2008-11-16 00:39:35 -08:00
2008-09-24 18:59:00 -04:00
2008-07-25 12:06:02 +10:00
2008-08-27 05:17:46 -04:00
2008-11-30 10:03:38 -08:00
2008-10-21 07:58:06 -07:00
2008-04-29 08:06:27 -07:00