[netfilter-cvslog] r3415 - trunk/nfsim/core/ipv4

rusty at netfilter.org rusty at netfilter.org
Thu Dec 16 14:05:46 CET 2004


Author: rusty at netfilter.org
Date: 2004-12-16 14:05:46 +0100 (Thu, 16 Dec 2004)
New Revision: 3415

Modified:
   trunk/nfsim/core/ipv4/ipv4.c
Log:
Don't set skb->dev: it's used by the forward hook and must be the input device still.


Modified: trunk/nfsim/core/ipv4/ipv4.c
===================================================================
--- trunk/nfsim/core/ipv4/ipv4.c	2004-12-16 07:35:17 UTC (rev 3414)
+++ trunk/nfsim/core/ipv4/ipv4.c	2004-12-16 13:05:46 UTC (rev 3415)
@@ -426,7 +426,7 @@
 			rth = talloc_zero(route, struct rtable);
 			talloc_set_destructor(rth, destroy_rtable);
 
-			rth->u.dst.dev = skb->dev = route->interface;
+			rth->u.dst.dev = route->interface;
 
 			rth->u.dst.output = ip_output;
 			rth->u.dst.input  = ip_forward;




More information about the netfilter-cvslog mailing list