Re: Misc 2.5 Fixes: x25-facilities-parse

Dipankar Sarma
2003-06-10T09:51:29Z

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;
}
}

_