lkml.org 
[lkml]   [1998]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.1.99] some fixes
   Date: 	Sun, 3 May 1998 19:14:08 +0300 (EEST)
From: "Alexandr D. Kanevskiy" <kad@mfua.lugansk.ua>

--- linux/net/netsyms.c.org Sun May 3 16:24:59 1998
+++ linux/net/netsyms.c Sun May 3 16:28:54 1998
@@ -458,7 +458,7 @@
EXPORT_SYMBOL(qdisc_new_estimator);
EXPORT_SYMBOL(qdisc_kill_estimator);
#endif
-#ifdef CONFIG_NET_POLICE
+#ifdef CONFIG_NET_CLS_POLICE
EXPORT_SYMBOL(tcf_police);
EXPORT_SYMBOL(tcf_police_locate);
EXPORT_SYMBOL(tcf_police_destroy);

Already fixed in pre-100

--- linux/net/ipv4/ip_fragment.c.org Sun May 3 16:34:41 1998
+++ linux/net/ipv4/ip_fragment.c Sun May 3 16:34:48 1998
@@ -350,7 +350,7 @@
fp = qp->fragments;
count = qp->ihlen;
while(fp) {
- if (fp->len < 0 || count+fp->len > skb->len) {
+ if (fp->len < 0 || fp->offset+qp->ihlen+fp->len > skb->len) {
NETDEBUG(printk(KERN_ERR "Invalid fragment list: "
"Fragment over size.\n"));
ip_free(qp);
This fix is DEAD WRONG, the fix is already there in the code, look at
it a bit more closely before trying to "fix" it.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2011 Jasper Spaans