Re: Misc 2.5 Fixes: x25-facilities-parse

Dipankar Sarma (dipankar@in.ibm.com)
Tue, 10 Jun 2003 15:37:46 +0530


Fix parsing of options for X.25 facilities

net/x25/x25_facilities.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN net/x25/x25_facilities.c~x25-facilities-parse net/x25/x25_facilities.c
--- linux-2.5.70-ds/net/x25/x25_facilities.c~x25-facilities-parse 2003-06-08 00:39:39.000000000 +0530
+++ linux-2.5.70-ds-dipankar/net/x25/x25_facilities.c 2003-06-08 00:40:28.000000000 +0530
@@ -105,8 +105,8 @@ int x25_parse_facilities(struct sk_buff
printk(KERN_DEBUG "X.25: unknown facility %02X, "
"length %d, values %02X, %02X, %02X, %02X\n",
p[0], p[1], p[2], p[3], p[4], p[5]);
- p += p[1] + 2;
len -= p[1] + 2;
+ p += p[1] + 2;
break;
}
}

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/