patch-2.4.20 linux-2.4.20/drivers/s390/net/netiucv.c
Next file: linux-2.4.20/drivers/s390/s390io.c
Previous file: linux-2.4.20/drivers/s390/misc/chandev.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/s390/net/netiucv.c
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/s390/net/netiucv.c linux-2.4.20/drivers/s390/net/netiucv.c
@@ -1362,7 +1362,7 @@
privptr = (netiucv_priv *)dev->priv;
- if (count >= 39)
+ if (count >= CTRL_BUFSIZE-1)
return -EINVAL;
if (copy_from_user(tmp, buf, count))
@@ -1459,7 +1459,7 @@
privptr = (netiucv_priv *)dev->priv;
- if (count >= 39)
+ if (count >= CTRL_BUFSIZE-1)
return -EINVAL;
if (copy_from_user(tmp, buf, count))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)