projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83c248
)
[AX.25]: Use constant instead of magic number
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 18 Oct 2005 20:39:33 +0000
(21:39 +0100)
committer
Arnaldo Carvalho de Melo
<acme@mandriva.com>
Wed, 26 Oct 2005 03:14:09 +0000
(
01:14
-0200)
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/rose/rose_route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rose/rose_route.c
b/net/rose/rose_route.c
index e556d92c0bc4d2eb5883acda48b051a608a10d9f..b18fe504301944d8514816df8d6eb90f715b048d 100644
(file)
--- a/
net/rose/rose_route.c
+++ b/
net/rose/rose_route.c
@@
-727,7
+727,7
@@
int rose_rt_ioctl(unsigned int cmd, void __user *arg)
}
if (rose_route.mask > 10) /* Mask can't be more than 10 digits */
return -EINVAL;
- if (rose_route.ndigis >
8) /* No more than 8 digipeats */
+ if (rose_route.ndigis >
AX25_MAX_DIGIS)
return -EINVAL;
err = rose_add_node(&rose_route, dev);
dev_put(dev);