]> git.pld-linux.org Git - packages/kernel.git/blame - linux-2.4.20-lkml-ppp_filter-outbound-fix.patch
- obsolete
[packages/kernel.git] / linux-2.4.20-lkml-ppp_filter-outbound-fix.patch
CommitLineData
131c0824 1--- linux-2.4.20/drivers/net/ppp_generic.c.orig 2003-01-17 13:15:32.000000000 +0100
2+++ linux-2.4.20/drivers/net/ppp_generic.c 2003-01-17 13:16:23.000000000 +0100
3@@ -965,11 +965,10 @@
4 if (ppp->pass_filter.filter
5 && sk_run_filter(skb, ppp->pass_filter.filter,
6 ppp->pass_filter.len) == 0) {
7- if (ppp->debug & 1) {
8+ if (ppp->debug & 1)
9 printk(KERN_DEBUG "PPP: outbound frame not passed\n");
10- kfree_skb(skb);
11- return;
12- }
13+ kfree_skb(skb);
14+ return;
15 }
16 /* if this packet passes the active filter, record the time */
17 if (!(ppp->active_filter.filter
This page took 0.319895 seconds and 4 git commands to generate.