netdev
[Top] [All Lists]

[PATCH] TCP syn output interface passed to firewall hooks.

To: netdev@xxxxxxxxxxx
Subject: [PATCH] TCP syn output interface passed to firewall hooks.
From: Paul Rusty Russell <Paul.Russell@xxxxxxxxxxxxxxxx>
Date: Thu, 16 Dec 1999 21:59:56 +1100
Cc: torvalds@xxxxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
Linus, please apply v2.3.32.

My fuckup.  Checked, and this is the only case of bad interface args
to firewall hooks in ipv4.

--- linux-2.3-official/net/ipv4/ip_output.c     Tue Nov 30 17:58:59 1999
+++ linux-2.3/net/ipv4/ip_output.c      Thu Dec 16 20:51:58 1999
@@ -182,7 +182,7 @@
        ip_send_check(iph);
 
        /* Send it out. */
-       NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, NULL,
+       NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, skb, NULL, rt->u.dst.dev,
                output_maybe_reroute);
 }

--
Hacking time.

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] TCP syn output interface passed to firewall hooks., Paul Rusty Russell <=