--- linux-2.4.26-pre5-tux/net/ipv4/route.c Sat Mar 20 23:37:29 2004 +++ linux-2.4.26-pre5-tux-fix/net/ipv4/route.c Sat Mar 20 23:39:41 2004 @@ -99,8 +99,6 @@ #include #endif -#define CONFIG_TUX_LOOPBACK_PHYSICAL 0 - #define IP_MAX_MTU 0xFFF0 #define RT_GC_TIMEOUT (300*HZ) @@ -1487,7 +1485,6 @@ goto brd_input; if (res.type == RTN_LOCAL) { -#if !CONFIG_TUX_LOOPBACK_PHYSICAL int result; result = fib_validate_source(saddr, daddr, tos, loopback_dev.ifindex, @@ -1496,7 +1493,6 @@ goto martian_source; if (result) flags |= RTCF_DIRECTSRC; -#endif spec_dst = daddr; goto local_input; } @@ -1888,11 +1884,7 @@ goto make_route; } -#if !CONFIG_TUX_LOOPBACK_PHYSICAL if (fib_lookup(&key, &res)) { -#else - if (main_table->tb_lookup(main_table, &key, &res)) { -#endif res.fi = NULL; if (oldkey->oif) { /* Apparently, routing tables are wrong. Assume, @@ -1930,7 +1922,6 @@ goto e_inval; if (res.type == RTN_LOCAL) { -#if !CONFIG_TUX_LOOPBACK_PHYSICAL if (!key.src) key.src = key.dst; if (dev_out) @@ -1943,7 +1934,6 @@ res.fi = NULL; flags |= RTCF_LOCAL; goto make_route; -#endif } #ifdef CONFIG_IP_ROUTE_MULTIPATH