[PATCH] Re: ipfw related typo

Paul Rusty Russell (Paul.Russell@rustcorp.com.au)
Thu, 10 Sep 1998 11:38:39 -0700


Linus, please apply.

In message <19980909094520.A25827@impsat1.com.ar> Juanjo writes:
>
> Hi Paul!
> Attached is a 1-line-obvious-fix to skb->fwmark initialization.
> Without it, fwmark'ing does a lot of funnies :)

*&%! This is the second time the config option has changed, and the
second time this one line slipped through. This time it's not my
fault though. 8-).

Rusty.

--- linux/net/core/skbuff.c 1998/08/19 13:32:44 1.53
+++ linux/net/core/skbuff.c 1998/09/01 21:06:11
@@ -192,7 +192,7 @@
skb->ip_summed = 0;
skb->security = 0; /* By default packets are insecure */
skb->dst = NULL;
-#ifdef CONFIG_IP_FIREWALL_CHAINS
+#ifdef CONFIG_IP_FIREWALL
skb->fwmark = 0;
#endif
memset(skb->cb, 0, sizeof(skb->cb));

--
 .sig lost in the mail.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html