patch-2.4.21 linux-2.4.21/drivers/net/ppp_generic.c

Next file: linux-2.4.21/drivers/net/r8169.c
Previous file: linux-2.4.21/drivers/net/pcnet32.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/net/ppp_generic.c linux-2.4.21/drivers/net/ppp_generic.c
@@ -965,11 +965,10 @@
 		if (ppp->pass_filter.filter
 		    && sk_run_filter(skb, ppp->pass_filter.filter,
 				     ppp->pass_filter.len) == 0) {
-			if (ppp->debug & 1) {
+			if (ppp->debug & 1)
 				printk(KERN_DEBUG "PPP: outbound frame not passed\n");
-				kfree_skb(skb);
-				return;
-			}
+			kfree_skb(skb);
+			return;
 		}
 		/* if this packet passes the active filter, record the time */
 		if (!(ppp->active_filter.filter

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)