Update of /cvsroot/leaf/src/bering-uclibc/apps/linux/patches
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv19854

Added Files:
        pppol2tp-conntrack.patch 
Log Message:
small patch for pppol2tp not clearing conntrack info in received skb by Cedric 
Schieli

--- NEW FILE: pppol2tp-conntrack.patch ---
diff -ur linux-2.4.33.orig/drivers/net/pppol2tp.c 
linux-2.4.33/drivers/net/pppol2tp.c
--- linux-2.4.33.orig/drivers/net/pppol2tp.c    2006-08-25 17:07:50.000000000 
+0200
+++ linux-2.4.33/drivers/net/pppol2tp.c 2006-08-31 11:47:25.254883462 +0200
@@ -415,6 +415,18 @@
        dst_release(skb->dst);
        skb->dst = NULL;
 
+#ifdef CONFIG_NETFILTER
+       /* We need to forget conntrack info as we reuse the same skb. */
+       nf_conntrack_put(skb->nfct);
+       skb->nfct = NULL;
+#ifdef CONFIG_NETFILTER_DEBUG
+       skb->nf_debug = 0;
+#endif
+#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
+       skb->nf_bridge = NULL;
+#endif
+#endif
+
        tunnel->stats.rx_packets++;
        tunnel->stats.rx_bytes += length;
        session->stats.rx_packets++;


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to