Dirk Eibach
01cfaf0d12
[PATCH] char/moxa.c: fix endianess and multiple-card issues
...
While testing Moxa C218T/PCI on PowerPC 405EP I found that loading firmware
using the linux kernel driver fails because calculation of the checksum is
not endianess independent in the original code.
After I fixed this I found that uploading firmware in a system with
multiple cards causes a kernel oops. I had a look in the recent moxa
sources and found that they do some kind of locking there. Applying this
lock fixed the problem.
Alan sayeth:
Checksum changes are clearly correct. Other changes is an improvement but
not I think enough to handle malicious firmware attacks. That said such an
attacker has CAP_SYS_RAWIO anyway so that part is irrelevant except for
neatness.
[akpm@osdl.org: cleanups]
Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-08-27 11:01:29 -07:00
..
2006-07-03 15:26:59 -07:00
2006-07-02 13:58:49 -07:00
2006-07-03 15:26:59 -07:00
2006-08-06 08:57:46 -07:00
2006-07-10 13:24:13 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-21 14:44:55 -07:00
2006-07-03 15:26:59 -07:00
2006-07-14 21:53:55 -07:00
2006-08-15 11:17:22 +02:00
2006-01-01 22:21:50 +01:00
2006-07-02 13:58:49 -07:00
2006-07-03 15:26:59 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:26:59 -07:00
2006-07-02 13:58:49 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:26:59 -07:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:49 -07:00
2006-03-28 23:15:54 +11:00
2006-03-23 07:38:14 -08:00
2006-07-03 15:26:59 -07:00
2006-06-26 09:58:20 -07:00
2006-07-03 15:26:59 -07:00
2006-07-02 13:58:49 -07:00
2006-03-28 16:45:26 +11:00
2006-06-09 21:24:20 +10:00
2006-03-28 16:45:26 +11:00
2006-07-02 13:58:49 -07:00
2006-08-06 08:57:48 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-02 13:58:49 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-06-29 10:26:21 -07:00
2006-08-04 22:51:51 -04:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-06-27 17:32:43 -07:00
2006-07-02 13:58:49 -07:00
2006-07-10 13:24:25 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-08-27 11:01:29 -07:00
2006-07-02 13:58:49 -07:00
2006-03-28 09:16:08 -08:00
2006-06-30 19:25:36 +02:00
2006-06-25 10:01:17 -07:00
2006-06-28 14:59:05 -07:00
2006-07-14 21:53:54 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-31 13:28:36 -07:00
2006-07-03 15:26:59 -07:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:49 -07:00
2006-07-03 15:27:02 -07:00
2006-07-03 15:26:59 -07:00
2006-07-02 13:58:49 -07:00
2006-06-26 12:25:09 -07:00
2006-07-12 12:52:55 -07:00
2006-07-02 13:58:49 -07:00
2006-01-12 09:09:00 -08:00
2006-07-14 21:53:54 -07:00
2006-01-10 08:01:59 -08:00
2006-03-23 07:38:14 -08:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:26 -07:00
2006-08-02 16:07:55 -07:00
2006-01-26 13:32:26 -08:00
2006-07-03 15:26:59 -07:00
2006-07-10 13:24:13 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-21 14:44:55 -07:00
2006-07-21 14:44:55 -07:00
2006-07-21 14:44:55 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-07-03 15:26:59 -07:00
2006-08-27 11:01:28 -07:00
2006-07-03 15:26:59 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:26:59 -07:00
2006-07-02 13:58:49 -07:00
2006-07-13 21:26:19 +01:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:26:59 -07:00