]> git.baikalelectronics.ru Git - kernel.git/commit
[AX.25]: Fix signed char bug
authorRalf Baechle <ralf@linux-mips.org>
Fri, 14 Oct 2005 20:29:56 +0000 (21:29 +0100)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Sat, 22 Oct 2005 19:20:50 +0000 (17:20 -0200)
commit9d51f64d0c61a7ed2488578d1ffa9eae019ee21b
tree3742b9fa7befc487d2bddf41fa7a1ea686b7f72d
parentf2c0f7b4d9daeabc95f23b63b6ea349085357014
[AX.25]: Fix signed char bug

On architectures where the char type defaults to unsigned some of the
arithmetic in the AX.25 stack to fail, resulting in some packets being dropped
on receive.

Credits for tracking this down and the original patch to
Bob Brose N0QBJ <linuxhams@n0qbj-11.ampr.org>.

Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
include/net/ax25.h