aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25/x25_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/x25/x25_route.c')
-rw-r--r--net/x25/x25_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/x25_route.c b/net/x25/x25_route.c
index 2c999ccf504a..66961ea28c91 100644
--- a/net/x25/x25_route.c
+++ b/net/x25/x25_route.c
@@ -190,7 +190,7 @@ int x25_route_ioctl(unsigned int cmd, void __user *arg)
190 goto out; 190 goto out;
191 191
192 rc = -EINVAL; 192 rc = -EINVAL;
193 if (rt.sigdigits < 0 || rt.sigdigits > 15) 193 if (rt.sigdigits > 15)
194 goto out; 194 goto out;
195 195
196 dev = x25_dev_get(rt.device); 196 dev = x25_dev_get(rt.device);