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-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-09-24 18:59:00 -04:00
2008-11-07 03:33:44 -05:00
2008-10-13 19:01:08 -07:00
2008-10-22 07:00:28 -04:00
2008-10-22 07:00:28 -04:00
2008-10-31 00:47:43 -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-10-12 21:15:17 -07:00
2008-10-08 16:29:57 -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-11-03 16:46:19 -08:00
2008-11-03 16:46:58 -08: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-10-22 06:22:15 -04:00
2008-11-16 01:45:24 -08:00
2008-10-13 19:01:08 -07:00
2008-12-03 21:16:06 -08: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-10-01 06:12:56 -07:00
2008-10-31 00:59:46 -04:00
2008-10-31 00:59:46 -04:00
2008-11-14 18:18:30 -05:00
2008-08-27 05:55:19 -04:00
2008-11-25 21:05:51 -08:00
2008-10-13 19:01:08 -07:00
2008-08-27 05:36:57 -04:00
2008-11-19 15:54:38 -08: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-10-08 16:56:48 -07:00
2008-10-31 00:00:33 -07: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-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-09-24 20:49:00 -04:00
2008-12-03 22:18:59 -08:00
2008-11-14 14:47:29 -08:00
2008-11-14 14:44:08 -08:00
2008-09-24 18:59:00 -04:00
2008-10-16 12:40:26 -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-11-16 01:38:18 -08:00
2008-09-24 20:48:08 -04:00
2008-10-26 09:35:05 -07:00
2008-09-24 18:59:00 -04:00
2008-09-24 18:49:04 -04:00
2008-10-08 16:29:57 -07:00
2008-11-20 01:28:30 -08: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-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-11-23 15:46:55 -08: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-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-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-09-24 18:59:00 -04:00
2008-11-01 09:49:46 -07: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-09-03 10:24:04 -04:00
2008-11-16 00:39:35 -08:00
2008-09-24 18:59:00 -04: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