patch-2.4.9 linux/net/ipv6/raw.c
Next file: linux/net/ipv6/route.c
Previous file: linux/net/ipv6/ndisc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 15 01:22:18 2001
- Orig file:
v2.4.8/linux/net/ipv6/raw.c
- Orig date:
Tue Jul 3 17:08:22 2001
diff -u --recursive --new-file v2.4.8/linux/net/ipv6/raw.c linux/net/ipv6/raw.c
@@ -7,7 +7,7 @@
*
* Adapted from linux/net/ipv4/raw.c
*
- * $Id: raw.c,v 1.46 2001/06/05 11:36:55 davem Exp $
+ * $Id: raw.c,v 1.49 2001/08/13 18:56:13 davem Exp $
*
* Fixes:
* Hideaki YOSHIFUJI : sin6_scope_id support
@@ -699,7 +699,7 @@
return -ENOPROTOOPT;
}
- len=min(sizeof(int),len);
+ len = min(unsigned int, sizeof(int), len);
if (put_user(len, optlen))
return -EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)