-- Matthew Harrell I used to have a handle on life, Simulation Technology Division, SAIC then it broke. mharrell@std.saic.com
diff -urN lx-2.1.14/net/ipv4/tcp_ipv4.c linux/net/ipv4/tcp_ipv4.c --- lx-2.1.14/net/ipv4/tcp_ipv4.c Mon Dec 9 20:06:17 1996 +++ linux/net/ipv4/tcp_ipv4.c Mon Dec 9 20:04:56 1996 @@ -1019,7 +1018,7 @@ #ifdef CONFIG_IP_TRANSPARENT_PROXY if (IPCB(skb)->redirport) - sk = get_sock_proxy(&tcp_prot, th->dest, saddr, th->source, daddr, dev->pa_addr, IPCB(skb)->redirport); + sk = get_sock_proxy(&tcp_prot, th->dest, saddr, th->source, daddr, skb->dev->pa_addr, IPCB(skb)->redirport); else #endif sk = get_tcp_sock(saddr, th->source, daddr, th->dest); diff -urN lx-2.1.14/net/ipv4/udp.c linux/net/ipv4/udp.c --- lx-2.1.14/net/ipv4/udp.c Mon Dec 9 20:06:18 1996 +++ linux/net/ipv4/udp.c Mon Dec 9 20:04:56 1996 @@ -824,7 +824,7 @@ #ifdef CONFIG_IP_TRANSPARENT_PROXY if (IPCB(skb)->redirport) - sk = get_sock_proxy(&udp_prot, uh->dest, saddr, uh->source, daddr, dev->pa_addr, IPCB(skb)->redirport); + sk = get_sock_proxy(&udp_prot, uh->dest, saddr, uh->source, daddr, skb->dev->pa_addr, IPCB(skb)->redirport); else #endif sk = get_udp_sock(uh->dest, saddr, uh->source, daddr);